sourcelanguage.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GTKSOURCEVIEWMM_SOURCELANGUAGE_H
00004 #define _GTKSOURCEVIEWMM_SOURCELANGUAGE_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* sourcebuffer.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/object.h>
00034 #include <gtksourceviewmm/sourcestylescheme.h>
00035 
00036 
00037 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00038 typedef struct _GtkSourceLanguage GtkSourceLanguage;
00039 typedef struct _GtkSourceLanguageClass GtkSourceLanguageClass;
00040 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00041 
00042 
00043 namespace gtksourceview
00044 { class SourceLanguage_Class; } // namespace gtksourceview
00045 namespace gtksourceview
00046 {
00047 
00048 class SourceLanguageManager ;
00049 
00050 
00055 
00056 class SourceLanguage : public Glib::Object
00057 {
00058   
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060 
00061 public:
00062   typedef SourceLanguage CppObjectType;
00063   typedef SourceLanguage_Class CppClassType;
00064   typedef GtkSourceLanguage BaseObjectType;
00065   typedef GtkSourceLanguageClass BaseClassType;
00066 
00067 private:  friend class SourceLanguage_Class;
00068   static CppClassType sourcelanguage_class_;
00069 
00070 private:
00071   // noncopyable
00072   SourceLanguage(const SourceLanguage&);
00073   SourceLanguage& operator=(const SourceLanguage&);
00074 
00075 protected:
00076   explicit SourceLanguage(const Glib::ConstructParams& construct_params);
00077   explicit SourceLanguage(GtkSourceLanguage* castitem);
00078 
00079 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00080 
00081 public:
00082   virtual ~SourceLanguage();
00083 
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085   static GType get_type()      G_GNUC_CONST;
00086   static GType get_base_type() G_GNUC_CONST;
00087 #endif
00088 
00090   GtkSourceLanguage*       gobj()       { return reinterpret_cast<GtkSourceLanguage*>(gobject_); }
00091 
00093   const GtkSourceLanguage* gobj() const { return reinterpret_cast<GtkSourceLanguage*>(gobject_); }
00094 
00096   GtkSourceLanguage* gobj_copy();
00097 
00098 private:
00099 
00100 
00101 protected:
00102   SourceLanguage();
00103 
00104 public:
00105 
00109   
00110   static Glib::RefPtr<SourceLanguage> create();
00111 
00112 
00117   
00118   Glib::ustring get_id() const;
00119 
00123   
00124   Glib::ustring get_name() const;
00125 
00130   
00131   Glib::ustring get_section() const;
00132 
00136   //gtkmmproc error: gtk_source_language_get_boolean : method defs lookup failed (1)
00137 
00138  
00143   
00144   Glib::StringArrayHandle get_mime_types() const;
00145 
00146   
00147   Glib::ustring get_style_name(const Glib::ustring& style_id) const;
00148 
00149 
00150 public:
00151 
00152 public:
00153   //C++ methods used to invoke GTK+ virtual functions:
00154 #ifdef GLIBMM_VFUNCS_ENABLED
00155 #endif //GLIBMM_VFUNCS_ENABLED
00156 
00157 protected:
00158   //GTK+ Virtual Functions (override these to change behaviour):
00159 #ifdef GLIBMM_VFUNCS_ENABLED
00160 #endif //GLIBMM_VFUNCS_ENABLED
00161 
00162   //Default Signal Handlers::
00163 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00164 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00165 
00166 
00167 };
00168 
00169 } /* namespace gtksourceview */
00170 
00171 
00172 namespace Glib
00173 {
00182   Glib::RefPtr<gtksourceview::SourceLanguage> wrap(GtkSourceLanguage* object, bool take_copy = false);
00183 }
00184 
00185 
00186 #endif /* _GTKSOURCEVIEWMM_SOURCELANGUAGE_H */
00187 

Generated on Tue Sep 25 18:39:18 2007 for libgtksourceviewmm by  doxygen 1.5.1