00001
00002
00003 #ifndef _GTKSOURCEVIEWMM_SOURCESTYLESCHEME_H
00004 #define _GTKSOURCEVIEWMM_SOURCESTYLESCHEME_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
00029
00032
00033 #include <glibmm/interface.h>
00034 #include <gtksourceviewmm/sourcestyle.h>
00035 #include <gtksourceview/gtksourcestylescheme.h>
00036
00037
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039 typedef struct _GtkSourceStyleScheme GtkSourceStyleScheme;
00040 typedef struct _GtkSourceStyleSchemeClass GtkSourceStyleSchemeClass;
00041 #endif
00042
00043
00044 namespace gtksourceview
00045 { class SourceStyleScheme_Class; }
00046 namespace gtksourceview
00047 {
00048
00050
00051 class SourceStyleScheme : public Glib::Interface
00052 {
00053
00054
00055 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00056
00057 public:
00058 typedef SourceStyleScheme CppObjectType;
00059 typedef SourceStyleScheme_Class CppClassType;
00060 typedef GtkSourceStyleScheme BaseObjectType;
00061 typedef GTypeInterface BaseClassType;
00062
00063 private:
00064 friend class SourceStyleScheme_Class;
00065 static CppClassType sourcestylescheme_class_;
00066
00067
00068 SourceStyleScheme(const SourceStyleScheme&);
00069 SourceStyleScheme& operator=(const SourceStyleScheme&);
00070
00071 protected:
00072 SourceStyleScheme();
00073
00080 explicit SourceStyleScheme(const Glib::Interface_Class& interface_class);
00081
00082 public:
00083
00084
00085
00086 explicit SourceStyleScheme(GtkSourceStyleScheme* castitem);
00087
00088 protected:
00089 #endif
00090
00091 public:
00092 virtual ~SourceStyleScheme();
00093
00094 static void add_interface(GType gtype_implementer);
00095
00096 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00097 static GType get_type() G_GNUC_CONST;
00098 static GType get_base_type() G_GNUC_CONST;
00099 #endif
00100
00102 GtkSourceStyleScheme* gobj() { return reinterpret_cast<GtkSourceStyleScheme*>(gobject_); }
00103
00105 const GtkSourceStyleScheme* gobj() const { return reinterpret_cast<GtkSourceStyleScheme*>(gobject_); }
00106
00107 private:
00108
00109
00110 public:
00111
00112
00118 Glib::ustring get_id() const;
00119
00125 Glib::ustring get_name() const;
00126
00132 Glib::ustring get_description() const;
00133
00134
00142 Glib::StringArrayHandle get_authors() const;
00143
00144
00151 std::string get_filename() const;
00152
00153
00162 Glib::RefPtr<SourceStyle> get_style(const Glib::ustring& style_id);
00163
00172 Glib::RefPtr<const SourceStyle> get_style(const Glib::ustring& style_id) const;
00173
00174
00175 public:
00176
00177 public:
00178
00179 #ifdef GLIBMM_VFUNCS_ENABLED
00180 #endif //GLIBMM_VFUNCS_ENABLED
00181
00182 protected:
00183
00184 #ifdef GLIBMM_VFUNCS_ENABLED
00185 #endif //GLIBMM_VFUNCS_ENABLED
00186
00187
00188 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00189 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00190
00191
00192 };
00193
00194 }
00195
00196
00197 namespace Glib
00198 {
00207 Glib::RefPtr<gtksourceview::SourceStyleScheme> wrap(GtkSourceStyleScheme* object, bool take_copy = false);
00208
00209 }
00210
00211
00212 #endif
00213