// Generated by gmmproc 2.66.6 -- DO NOT MODIFY! #ifndef _ATKMM_NOOPOBJECT_H #define _ATKMM_NOOPOBJECT_H #include #include /* $Id: noopobject.hg,v 1.2 2004/01/02 09:56:43 murrayc Exp $ */ /* Copyright (C) 1998-2002 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, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include #include #include #include #include #include #include #ifndef DOXYGEN_SHOULD_SKIP_THIS using AtkNoOpObject = struct _AtkNoOpObject; using AtkNoOpObjectClass = struct _AtkNoOpObjectClass; #endif /* DOXYGEN_SHOULD_SKIP_THIS */ #ifndef DOXYGEN_SHOULD_SKIP_THIS namespace Atk { class ATKMM_API NoOpObject_Class; } // namespace Atk #endif //DOXYGEN_SHOULD_SKIP_THIS namespace Atk { /** An Atk::NoOpObject is an Atk::Object which purports to implement all ATK interfaces. * It is the type of Atk::Object which is created if an accessible object is requested for an object type for which no * factory type is specified. */ class ATKMM_API NoOpObject : public Atk::Object, public Atk::Component, public Atk::Action, public Atk::EditableText, public Atk::Image, public Atk::Selection, public Atk::Table, public Atk::Text, public Atk::Hypertext, public Atk::Value { #ifndef DOXYGEN_SHOULD_SKIP_THIS public: using CppObjectType = NoOpObject; using CppClassType = NoOpObject_Class; using BaseObjectType = AtkNoOpObject; using BaseClassType = AtkNoOpObjectClass; // noncopyable NoOpObject(const NoOpObject&) = delete; NoOpObject& operator=(const NoOpObject&) = delete; private: friend class NoOpObject_Class; static CppClassType noopobject_class_; protected: explicit NoOpObject(const Glib::ConstructParams& construct_params); explicit NoOpObject(AtkNoOpObject* castitem); #endif /* DOXYGEN_SHOULD_SKIP_THIS */ public: NoOpObject(NoOpObject&& src) noexcept; NoOpObject& operator=(NoOpObject&& src) noexcept; ~NoOpObject() noexcept override; /** Get the GType for this class, for use with the underlying GObject type system. */ static GType get_type() G_GNUC_CONST; #ifndef DOXYGEN_SHOULD_SKIP_THIS static GType get_base_type() G_GNUC_CONST; #endif ///Provides access to the underlying C GObject. AtkNoOpObject* gobj() { return reinterpret_cast(gobject_); } ///Provides access to the underlying C GObject. const AtkNoOpObject* gobj() const { return reinterpret_cast(gobject_); } ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. AtkNoOpObject* gobj_copy(); private: #ifndef DOXYGEN_SHOULD_SKIP_THIS friend ATKMM_API class Atk::Object_Class; #endif public: public: //C++ methods used to invoke GTK+ virtual functions: protected: //GTK+ Virtual Functions (override these to change behaviour): //Default Signal Handlers:: }; } // namespace Atk namespace Glib { /** A Glib::wrap() method for this object. * * @param object The C instance. * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. * @result A C++ instance that wraps this C instance. * * @relates Atk::NoOpObject */ ATKMM_API Glib::RefPtr wrap(AtkNoOpObject* object, bool take_copy = false); } #endif /* _ATKMM_NOOPOBJECT_H */