1 // Generated by gmmproc 2.56.0 -- DO NOT MODIFY!
2 #ifndef _ATKMM_NOOPOBJECT_H
3 #define _ATKMM_NOOPOBJECT_H
4 
5 
6 #include <glibmm/ustring.h>
7 #include <sigc++/sigc++.h>
8 
9 /* $Id: noopobject.hg,v 1.2 2004/01/02 09:56:43 murrayc Exp $ */
10 
11 /* Copyright (C) 1998-2002 The gtkmm Development Team
12  *
13  * This library is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU Lesser General Public
15  * License as published by the Free Software Foundation; either
16  * version 2.1 of the License, or (at your option) any later version.
17  *
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  * Lesser General Public License for more details.
22  *
23  * You should have received a copy of the GNU Lesser 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.
26  */
27 
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>
37 
38 
39 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 using AtkNoOpObject = struct _AtkNoOpObject;
41 using AtkNoOpObjectClass = struct _AtkNoOpObjectClass;
42 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
43 
44 
45 #ifndef DOXYGEN_SHOULD_SKIP_THIS
46 namespace Atk
47 { class NoOpObject_Class; } // namespace Atk
48 #endif //DOXYGEN_SHOULD_SKIP_THIS
49 
50 namespace Atk
51 {
52 
53 /** An Atk::NoOpObject is an Atk::Object which purports to implement all ATK interfaces.
54  * It is the type of Atk::Object which is created if an accessible object is requested for an object type for which no
55  * factory type is specified.
56  */
57 
58 class NoOpObject
59 :
60   public Atk::Object,
61   public Atk::Component,
62   public Atk::Action,
63   public Atk::EditableText,
64   public Atk::Image,
65   public Atk::Selection,
66   public Atk::Table,
67   public Atk::Text,
68   public Atk::Hypertext,
69   public Atk::Value
70 {
71 
72 #ifndef DOXYGEN_SHOULD_SKIP_THIS
73 
74 public:
75   using CppObjectType = NoOpObject;
76   using CppClassType = NoOpObject_Class;
77   using BaseObjectType = AtkNoOpObject;
78   using BaseClassType = AtkNoOpObjectClass;
79 
80   // noncopyable
81   NoOpObject(const NoOpObject&) = delete;
82   NoOpObject& operator=(const NoOpObject&) = delete;
83 
84 private:  friend class NoOpObject_Class;
85   static CppClassType noopobject_class_;
86 
87 protected:
88   explicit NoOpObject(const Glib::ConstructParams& construct_params);
89   explicit NoOpObject(AtkNoOpObject* castitem);
90 
91 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
92 
93 public:
94 
95   NoOpObject(NoOpObject&& src) noexcept;
96   NoOpObject& operator=(NoOpObject&& src) noexcept;
97 
98   ~NoOpObject() noexcept override;
99 
100   /** Get the GType for this class, for use with the underlying GObject type system.
101    */
102   static GType get_type()      G_GNUC_CONST;
103 
104 #ifndef DOXYGEN_SHOULD_SKIP_THIS
105 
106 
107   static GType get_base_type() G_GNUC_CONST;
108 #endif
109 
110   ///Provides access to the underlying C GObject.
gobj()111   AtkNoOpObject*       gobj()       { return reinterpret_cast<AtkNoOpObject*>(gobject_); }
112 
113   ///Provides access to the underlying C GObject.
gobj()114   const AtkNoOpObject* gobj() const { return reinterpret_cast<AtkNoOpObject*>(gobject_); }
115 
116   ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
117   AtkNoOpObject* gobj_copy();
118 
119 private:
120 
121 
122 #ifndef DOXYGEN_SHOULD_SKIP_THIS
123   friend class Atk::Object_Class;
124 #endif
125 
126 
127 public:
128 
129 public:
130   //C++ methods used to invoke GTK+ virtual functions:
131 
132 protected:
133   //GTK+ Virtual Functions (override these to change behaviour):
134 
135   //Default Signal Handlers::
136 
137 
138 };
139 
140 } // namespace Atk
141 
142 
143 namespace Glib
144 {
145   /** A Glib::wrap() method for this object.
146    *
147    * @param object The C instance.
148    * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
149    * @result A C++ instance that wraps this C instance.
150    *
151    * @relates Atk::NoOpObject
152    */
153   Glib::RefPtr<Atk::NoOpObject> wrap(AtkNoOpObject* object, bool take_copy = false);
154 }
155 
156 
157 #endif /* _ATKMM_NOOPOBJECT_H */
158 
159