clone.h
Go to the documentation of this file.00001
00002
00003 #ifndef _CLUTTERMM_CLONE_H
00004 #define _CLUTTERMM_CLONE_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #include <cluttermm/texture.h>
00027 #include <cluttermm/types.h>
00028
00029
00030 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00031 typedef struct _ClutterClone ClutterClone;
00032 typedef struct _ClutterCloneClass ClutterCloneClass;
00033 #endif
00034
00035
00036 namespace Clutter
00037 { class Clone_Class; }
00038 namespace Clutter
00039 {
00040
00041
00042 class Clone :
00043 public Actor
00044 {
00045
00046 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00047
00048 public:
00049 typedef Clone CppObjectType;
00050 typedef Clone_Class CppClassType;
00051 typedef ClutterClone BaseObjectType;
00052 typedef ClutterCloneClass BaseClassType;
00053
00054 private: friend class Clone_Class;
00055 static CppClassType clone_class_;
00056
00057 private:
00058
00059 Clone(const Clone&);
00060 Clone& operator=(const Clone&);
00061
00062 protected:
00063 explicit Clone(const Glib::ConstructParams& construct_params);
00064 explicit Clone(ClutterClone* castitem);
00065
00066 #endif
00067
00068 public:
00069 virtual ~Clone();
00070
00071 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00072 static GType get_type() G_GNUC_CONST;
00073 static GType get_base_type() G_GNUC_CONST;
00074 #endif
00075
00077 ClutterClone* gobj() { return reinterpret_cast<ClutterClone*>(gobject_); }
00078
00080 const ClutterClone* gobj() const { return reinterpret_cast<ClutterClone*>(gobject_); }
00081
00083 ClutterClone* gobj_copy();
00084
00085 private:
00086
00087
00088 protected:
00089 explicit Clone(const Glib::RefPtr<Actor>& source);
00090
00091 public:
00092
00093
00094 static Glib::RefPtr<Clone> create(const Glib::RefPtr<Actor>& source);
00095 ;
00096
00097
00103 Glib::RefPtr<Actor> get_source();
00104
00110 Glib::RefPtr<const Actor> get_source() const;
00111
00117 void get_source(const Glib::RefPtr<Actor>& source);
00118
00119
00120 public:
00121
00122 public:
00123
00124 #ifdef GLIBMM_VFUNCS_ENABLED
00125 #endif //GLIBMM_VFUNCS_ENABLED
00126
00127 protected:
00128
00129 #ifdef GLIBMM_VFUNCS_ENABLED
00130 #endif //GLIBMM_VFUNCS_ENABLED
00131
00132
00133 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00134 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00135
00136
00137 };
00138
00139 }
00140
00141
00142
00143
00144 namespace Glib
00145 {
00154 Glib::RefPtr<Clutter::Clone> wrap(ClutterClone* object, bool take_copy = false);
00155 }
00156
00157
00158 #endif
00159