2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _ATKMM_IMPLEMENTOR_H
4 #define _ATKMM_IMPLEMENTOR_H
10 /* Copyright (C) 2002 The gtkmm Development Team
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Library General Public
14 * License as published by the Free Software Foundation; either
15 * version 2 of the License, or (at your option) any later version.
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Library General Public License for more details.
22 * You should have received a copy of the GNU Library General Public
23 * License along with this library; if not, write to the Free
24 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 #include <atkmm/object.h>
30 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 typedef struct _AtkImplementorIface AtkImplementorIface;
34 typedef struct _AtkImplementor AtkImplementor;
36 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
39 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 typedef struct _AtkImplementor AtkImplementor;
41 typedef struct _AtkImplementorClass AtkImplementorClass;
42 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
46 { class Implementor_Class; } // namespace Atk
51 class Implementor : public Glib::Interface
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
57 typedef Implementor CppObjectType;
58 typedef Implementor_Class CppClassType;
59 typedef AtkImplementor BaseObjectType;
60 typedef AtkImplementorIface BaseClassType;
63 friend class Implementor_Class;
64 static CppClassType implementor_class_;
67 Implementor(const Implementor&);
68 Implementor& operator=(const Implementor&);
71 Implementor(); // you must derive from this class
72 explicit Implementor(AtkImplementor* castitem);
74 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
77 virtual ~Implementor();
79 static void add_interface(GType gtype_implementer);
81 #ifndef DOXYGEN_SHOULD_SKIP_THIS
82 static GType get_type() G_GNUC_CONST;
83 static GType get_base_type() G_GNUC_CONST;
86 ///Provides access to the underlying C GObject.
87 AtkImplementor* gobj() { return reinterpret_cast<AtkImplementor*>(gobject_); }
89 ///Provides access to the underlying C GObject.
90 const AtkImplementor* gobj() const { return reinterpret_cast<AtkImplementor*>(gobject_); }
96 virtual Glib::RefPtr<Object> ref_accessibile_vfunc();
102 //C++ methods used to invoke GTK+ virtual functions:
105 //GTK+ Virtual Functions (override these to change behaviour):
107 //Default Signal Handlers::
117 /** @relates Atk::Implementor
118 * @param object The C instance
119 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
120 * @result A C++ instance that wraps this C instance.
122 Glib::RefPtr<Atk::Implementor> wrap(AtkImplementor* object, bool take_copy = false);
126 #endif /* _ATKMM_IMPLEMENTOR_H */