- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

# sourcestylescheme.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GTKSOURCEVIEWMM_SOURCESTYLESCHEME_H
    00004 #define _GTKSOURCEVIEWMM_SOURCESTYLESCHEME_H
    00005
    00006
    00007 #include <glibmm.h>
    00008
    00009 /* sourcestylescheme.hg
    00010  *
    00011  * Copyright (C) 2004-2005 Jae Jang
    00012  * Copyright (C) 2005-2006 Rob Page
    00013  * Copyright (C)2006 Dodji Seketeli
    00014  *
    00015  * This library is free software; you can redistribute it and/or
    00016  * modify it under the terms of the GNU Library General Public
    00017  * License as published by the Free Software Foundation; either
    00018  * version 2 of the License, or (at your option) any later version.
    00019  *
    00020  * This library is distributed in the hope that it will be useful,
    00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00023  * Library General Public License for more details.
    00024  *
    00025  * You should have received a copy of the GNU Library General Public
    00026  * License along with this library; if not, write to the Free
    00027  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    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 /* DOXYGEN_SHOULD_SKIP_THIS */
    00042
    00043
    00044 namespace gtksourceview
    00045 { class SourceStyleScheme_Class; } // namespace gtksourceview
    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   // noncopyable
    00068   SourceStyleScheme(const SourceStyleScheme&);
    00069   SourceStyleScheme& operator=(const SourceStyleScheme&);
    00070
    00071 protected:
    00072   SourceStyleScheme(); // you must derive from this class
    00073
    00080   explicit SourceStyleScheme(const Glib::Interface_Class& interface_class);
    00081
    00082 public:
    00083   // This is public so that C++ wrapper instances can be
    00084   // created for C instances of unwrapped types.
    00085   // For instance, if an unexpected C type implements the C interface.
    00086   explicit SourceStyleScheme(GtkSourceStyleScheme* castitem);
    00087
    00088 protected:
    00089 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    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   //C++ methods used to invoke GTK+ virtual functions:
    00179 #ifdef GLIBMM_VFUNCS_ENABLED
    00180 #endif //GLIBMM_VFUNCS_ENABLED
    00181
    00182 protected:
    00183   //GTK+ Virtual Functions (override these to change behaviour):
    00184 #ifdef GLIBMM_VFUNCS_ENABLED
    00185 #endif //GLIBMM_VFUNCS_ENABLED
    00186
    00187   //Default Signal Handlers::
    00188 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00189 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00190
    00191
    00192 };//end class SourceStyleScheme
    00193
    00194 }//end namespace gtksourceview
    00195
    00196
    00197 namespace Glib
    00198 {
    00207   Glib::RefPtr<gtksourceview::SourceStyleScheme> wrap(GtkSourceStyleScheme* object, bool take_copy = false);
    00208
    00209 } // namespace Glib
    00210
    00211
    00212 #endif /* _GTKSOURCEVIEWMM_SOURCESTYLESCHEME_H */
    00213