fix for type error on 64 bit systems
[ardour.git] / libs / gtkmm2 / atk / atkmm / implementor.h
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _ATKMM_IMPLEMENTOR_H
4 #define _ATKMM_IMPLEMENTOR_H
5
6 #include <glibmm.h>
7
8 /* $Id$ */
9
10 /* Copyright (C) 2002 The gtkmm Development Team
11  *
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.
16  *
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.
21  *
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.
25  */
26
27
28 #include <atkmm/object.h>
29
30 #ifndef DOXYGEN_SHOULD_SKIP_THIS
31 extern "C"
32 {
33   typedef struct _AtkImplementorIface AtkImplementorIface;
34   typedef struct _AtkImplementor      AtkImplementor;
35 }
36 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
37
38
39 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 typedef struct _AtkImplementor AtkImplementor;
41 typedef struct _AtkImplementorClass AtkImplementorClass;
42 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
43
44
45 namespace Atk
46 { class Implementor_Class; } // namespace Atk
47 namespace Atk
48 {
49
50
51 class Implementor : public Glib::Interface
52 {
53   
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55
56 public:
57   typedef Implementor CppObjectType;
58   typedef Implementor_Class CppClassType;
59   typedef AtkImplementor BaseObjectType;
60   typedef AtkImplementorIface BaseClassType;
61
62 private:
63   friend class Implementor_Class;
64   static CppClassType implementor_class_;
65
66   // noncopyable
67   Implementor(const Implementor&);
68   Implementor& operator=(const Implementor&);
69
70 protected:
71   Implementor(); // you must derive from this class
72   explicit Implementor(AtkImplementor* castitem);
73
74 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
75
76 public:
77   virtual ~Implementor();
78
79   static void add_interface(GType gtype_implementer);
80
81 #ifndef DOXYGEN_SHOULD_SKIP_THIS
82   static GType get_type()      G_GNUC_CONST;
83   static GType get_base_type() G_GNUC_CONST;
84 #endif
85
86   ///Provides access to the underlying C GObject.
87   AtkImplementor*       gobj()       { return reinterpret_cast<AtkImplementor*>(gobject_); }
88
89   ///Provides access to the underlying C GObject.  
90   const AtkImplementor* gobj() const { return reinterpret_cast<AtkImplementor*>(gobject_); }
91
92 private:
93
94
95 protected:
96     virtual Glib::RefPtr<Object> ref_accessibile_vfunc();
97
98
99 public:
100
101 public:
102   //C++ methods used to invoke GTK+ virtual functions:
103
104 protected:
105   //GTK+ Virtual Functions (override these to change behaviour):
106
107   //Default Signal Handlers::
108
109
110 };
111
112 } // namespace Atk
113
114
115 namespace Glib
116 {
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.
121    */
122   Glib::RefPtr<Atk::Implementor> wrap(AtkImplementor* object, bool take_copy = false);
123
124 } // namespace Glib
125
126 #endif /* _ATKMM_IMPLEMENTOR_H */
127