2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _ATKMM_NOOPOBJECT_H
4 #define _ATKMM_NOOPOBJECT_H
11 /* Copyright (C) 1998-2002 The gtkmm Development Team
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Library General Public
15 * License as published by the Free Software Foundation; either
16 * version 2 of the License, or (at your option) any later version.
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Library General Public License for more details.
23 * You should have received a copy of the GNU Library General Public
24 * License along with this library; if not, write to the Free
25 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 #include <atkmm/object.h>
29 #include <atkmm/component.h>
30 #include <atkmm/action.h>
31 #include <atkmm/editabletext.h>
32 #include <atkmm/image.h>
33 #include <atkmm/selection.h>
34 #include <atkmm/table.h>
35 #include <atkmm/value.h>
36 #include <atkmm/hypertext.h>
39 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 typedef struct _AtkNoOpObject AtkNoOpObject;
41 typedef struct _AtkNoOpObjectClass AtkNoOpObjectClass;
42 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
46 { class NoOpObject_Class; } // namespace Atk
50 /** An Atk::NoOpObject is an Atk::Object which purports to implement all ATK interfaces.
51 * It is the type of Atk::Object which is created if an accessible object is requested for an object type for which no
52 * factory type is specified.
58 public Atk::Component,
60 public Atk::EditableText,
62 public Atk::Selection,
65 public Atk::Hypertext,
69 #ifndef DOXYGEN_SHOULD_SKIP_THIS
72 typedef NoOpObject CppObjectType;
73 typedef NoOpObject_Class CppClassType;
74 typedef AtkNoOpObject BaseObjectType;
75 typedef AtkNoOpObjectClass BaseClassType;
77 private: friend class NoOpObject_Class;
78 static CppClassType noopobject_class_;
82 NoOpObject(const NoOpObject&);
83 NoOpObject& operator=(const NoOpObject&);
86 explicit NoOpObject(const Glib::ConstructParams& construct_params);
87 explicit NoOpObject(AtkNoOpObject* castitem);
89 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
92 virtual ~NoOpObject();
94 #ifndef DOXYGEN_SHOULD_SKIP_THIS
95 static GType get_type() G_GNUC_CONST;
96 static GType get_base_type() G_GNUC_CONST;
99 ///Provides access to the underlying C GObject.
100 AtkNoOpObject* gobj() { return reinterpret_cast<AtkNoOpObject*>(gobject_); }
102 ///Provides access to the underlying C GObject.
103 const AtkNoOpObject* gobj() const { return reinterpret_cast<AtkNoOpObject*>(gobject_); }
105 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
106 AtkNoOpObject* gobj_copy();
111 #ifndef DOXYGEN_SHOULD_SKIP_THIS
112 friend class Atk::Object_Class;
119 //C++ methods used to invoke GTK+ virtual functions:
120 #ifdef GLIBMM_VFUNCS_ENABLED
121 #endif //GLIBMM_VFUNCS_ENABLED
124 //GTK+ Virtual Functions (override these to change behaviour):
125 #ifdef GLIBMM_VFUNCS_ENABLED
126 #endif //GLIBMM_VFUNCS_ENABLED
128 //Default Signal Handlers::
129 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
130 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
140 /** A Glib::wrap() method for this object.
142 * @param object The C instance.
143 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
144 * @result A C++ instance that wraps this C instance.
146 * @relates Atk::NoOpObject
148 Glib::RefPtr<Atk::NoOpObject> wrap(AtkNoOpObject* object, bool take_copy = false);
152 #endif /* _ATKMM_NOOPOBJECT_H */