00001
00002
00003 #ifndef _GTKSOURCEVIEWMM_SOURCESTYLE_H
00004 #define _GTKSOURCEVIEWMM_SOURCESTYLE_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
00027
00028 #include <glibmm/object.h>
00029
00030
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _GtkSourceStyle GtkSourceStyle;
00033 typedef struct _GtkSourceStyleClass GtkSourceStyleClass;
00034 #endif
00035
00036
00037 namespace gtksourceview
00038 { class SourceStyle_Class; }
00039 namespace gtksourceview
00040 {
00041
00042
00043 class SourceStyle : public Glib::Object
00044 {
00045
00046 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00047
00048 public:
00049 typedef SourceStyle CppObjectType;
00050 typedef SourceStyle_Class CppClassType;
00051 typedef GtkSourceStyle BaseObjectType;
00052 typedef GtkSourceStyleClass BaseClassType;
00053
00054 private: friend class SourceStyle_Class;
00055 static CppClassType sourcestyle_class_;
00056
00057 private:
00058
00059 SourceStyle(const SourceStyle&);
00060 SourceStyle& operator=(const SourceStyle&);
00061
00062 protected:
00063 explicit SourceStyle(const Glib::ConstructParams& construct_params);
00064 explicit SourceStyle(GtkSourceStyle* castitem);
00065
00066 #endif
00067
00068 public:
00069 virtual ~SourceStyle();
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 GtkSourceStyle* gobj() { return reinterpret_cast<GtkSourceStyle*>(gobject_); }
00078
00080 const GtkSourceStyle* gobj() const { return reinterpret_cast<GtkSourceStyle*>(gobject_); }
00081
00083 GtkSourceStyle* gobj_copy();
00084
00085 private:
00086
00087
00088 public:
00089
00090
00091
00092
00093 public:
00094
00095 public:
00096
00097 #ifdef GLIBMM_VFUNCS_ENABLED
00098 #endif //GLIBMM_VFUNCS_ENABLED
00099
00100 protected:
00101
00102 #ifdef GLIBMM_VFUNCS_ENABLED
00103 #endif //GLIBMM_VFUNCS_ENABLED
00104
00105
00106 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00107 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00108
00109
00110 };
00111
00112 }
00113
00114
00115 namespace Glib
00116 {
00125 Glib::RefPtr<gtksourceview::SourceStyle> wrap(GtkSourceStyle* object, bool take_copy = false);
00126 }
00127
00128
00129 #endif
00130