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 /* sourcetag.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/sourcetagstyle.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   explicit SourceStyleScheme(GtkSourceStyleScheme* castitem);
00074 
00075 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00076 
00077 public:
00078   virtual ~SourceStyleScheme();
00079 
00080   static void add_interface(GType gtype_implementer);
00081 
00082 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00083   static GType get_type()      G_GNUC_CONST;
00084   static GType get_base_type() G_GNUC_CONST;
00085 #endif
00086 
00088   GtkSourceStyleScheme*       gobj()       { return reinterpret_cast<GtkSourceStyleScheme*>(gobject_); }
00089 
00091   const GtkSourceStyleScheme* gobj() const { return reinterpret_cast<GtkSourceStyleScheme*>(gobject_); }
00092 
00093 private:
00094 
00095 
00096 public:
00097 
00103     
00104   SourceTagStyle get_tag_style(const Glib::ustring &a_style_name) const;
00105 
00109     
00110   Glib::ustring get_name() const;
00111 
00115     
00116   Glib::SListHandle<Glib::ustring> get_style_names() const;
00117 
00120     
00121   static Glib::RefPtr<SourceStyleScheme> get_default();
00122 
00123 
00124 public:
00125 
00126 public:
00127   //C++ methods used to invoke GTK+ virtual functions:
00128 #ifdef GLIBMM_VFUNCS_ENABLED
00129 #endif //GLIBMM_VFUNCS_ENABLED
00130 
00131 protected:
00132   //GTK+ Virtual Functions (override these to change behaviour):
00133 #ifdef GLIBMM_VFUNCS_ENABLED
00134 #endif //GLIBMM_VFUNCS_ENABLED
00135 
00136   //Default Signal Handlers::
00137 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00138 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00139 
00140 
00141 };//end class SourceStyleScheme
00142 
00143 }//end namespace gtksourceview
00144 
00145 
00146 namespace Glib
00147 {
00153   Glib::RefPtr<gtksourceview::SourceStyleScheme> wrap(GtkSourceStyleScheme* object, bool take_copy = false);
00154 
00155 } // namespace Glib
00156 
00157 
00158 #endif /* _GTKSOURCEVIEWMM_SOURCESTYLESCHEME_H */
00159 

Generated on Mon Jan 22 13:39:12 2007 for libgtksourceviewmm by  doxygen 1.5.1