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   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 
00098   
00099   Glib::ustring get_id() const;
00100   
00101   Glib::ustring get_name() const;
00102   
00103   Glib::ustring get_description() const;
00104 
00105  
00106   Glib::StringArrayHandle get_authors() const;
00107 
00108   
00109   std::string get_filename() const;
00110 
00111   
00112   Glib::RefPtr<SourceStyle> get_style(const Glib::ustring& style_id);
00113   
00114   Glib::RefPtr<const SourceStyle> get_style(const Glib::ustring& style_id) const;
00115 
00116 
00117 public:
00118 
00119 public:
00120   //C++ methods used to invoke GTK+ virtual functions:
00121 #ifdef GLIBMM_VFUNCS_ENABLED
00122 #endif //GLIBMM_VFUNCS_ENABLED
00123 
00124 protected:
00125   //GTK+ Virtual Functions (override these to change behaviour):
00126 #ifdef GLIBMM_VFUNCS_ENABLED
00127 #endif //GLIBMM_VFUNCS_ENABLED
00128 
00129   //Default Signal Handlers::
00130 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00131 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00132 
00133 
00134 };//end class SourceStyleScheme
00135 
00136 }//end namespace gtksourceview
00137 
00138 
00139 namespace Glib
00140 {
00149   Glib::RefPtr<gtksourceview::SourceStyleScheme> wrap(GtkSourceStyleScheme* object, bool take_copy = false);
00150 
00151 } // namespace Glib
00152 
00153 
00154 #endif /* _GTKSOURCEVIEWMM_SOURCESTYLESCHEME_H */
00155 

Generated on Tue Sep 18 10:57:50 2007 for libgtksourceviewmm by  doxygen 1.5.1