// Generated by gmmproc 2.84.0 -- DO NOT MODIFY!


#include <glibmm.h>

#include <gtkmm/accessiblehyperlink.h>
#include <gtkmm/private/accessiblehyperlink_p.h>


/* Copyright (C) 2025 The gtkmm Development Team
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 */

namespace
{
} // anonymous namespace


namespace Glib
{

Glib::RefPtr<Gtk::AccessibleHyperlink> wrap(GtkAccessibleHyperlink* object, bool take_copy)
{
  return Glib::make_refptr_for_instance<Gtk::AccessibleHyperlink>( dynamic_cast<Gtk::AccessibleHyperlink*> (Glib::wrap_auto ((GObject*)(object), take_copy)) );
  //We use dynamic_cast<> in case of multiple inheritance.
}

} /* namespace Glib */


namespace Gtk
{


/* The *_Class implementation: */

const Glib::Class& AccessibleHyperlink_Class::init()
{
  if(!gtype_) // create the GType if necessary
  {
    // Do not derive a GType, or use a derived class:
    gtype_ = gtk_accessible_hyperlink_get_type();

  }

  return *this;
}


Glib::ObjectBase* AccessibleHyperlink_Class::wrap_new(GObject* object)
{
  return new AccessibleHyperlink((GtkAccessibleHyperlink*)object);
}


/* The implementation: */

GtkAccessibleHyperlink* AccessibleHyperlink::gobj_copy()
{
  reference();
  return gobj();
}

AccessibleHyperlink::AccessibleHyperlink(const Glib::ConstructParams& construct_params)
:
  Glib::Object(construct_params)
{

}

AccessibleHyperlink::AccessibleHyperlink(GtkAccessibleHyperlink* castitem)
:
  Glib::Object((GObject*)(castitem))
{}


AccessibleHyperlink::AccessibleHyperlink(AccessibleHyperlink&& src) noexcept
: Glib::Object(std::move(src))
  , Accessible(std::move(src))
{}

AccessibleHyperlink& AccessibleHyperlink::operator=(AccessibleHyperlink&& src) noexcept
{
  Glib::Object::operator=(std::move(src));
  Accessible::operator=(std::move(src));
  return *this;
}


AccessibleHyperlink::~AccessibleHyperlink() noexcept
{}


AccessibleHyperlink::CppClassType AccessibleHyperlink::accessiblehyperlink_class_; // initialize static member

GType AccessibleHyperlink::get_type()
{
  return accessiblehyperlink_class_.init().get_type();
}


GType AccessibleHyperlink::get_base_type()
{
  return gtk_accessible_hyperlink_get_type();
}


Glib::RefPtr<AccessibleHyperlink> AccessibleHyperlink::create(const Glib::RefPtr<AccessibleHypertext>& parent, unsigned int index, const Glib::ustring& uri, const GtkAccessibleTextRange& bounds)
{
  return Glib::wrap(gtk_accessible_hyperlink_new(Glib::unwrap(parent), index, uri.c_str(), const_cast<GtkAccessibleTextRange*>(&bounds)));
}


} // namespace Gtk


