sourcelanguagesmanager.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GTKSOURCEVIEWMM_SOURCELANGUAGESMANAGER_H
00004 #define _GTKSOURCEVIEWMM_SOURCELANGUAGESMANAGER_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/sourcelanguage.h>
00035 
00036 
00037 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00038 typedef struct _GtkSourceLanguagesManager GtkSourceLanguagesManager;
00039 typedef struct _GtkSourceLanguagesManagerClass GtkSourceLanguagesManagerClass;
00040 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00041 
00042 
00043 namespace gtksourceview
00044 { class SourceLanguagesManager_Class; } // namespace gtksourceview
00045 namespace gtksourceview
00046 {
00047 
00048 
00050 
00051 class SourceLanguagesManager : public Glib::Object
00052 {
00053   
00054 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00055 
00056 public:
00057   typedef SourceLanguagesManager CppObjectType;
00058   typedef SourceLanguagesManager_Class CppClassType;
00059   typedef GtkSourceLanguagesManager BaseObjectType;
00060   typedef GtkSourceLanguagesManagerClass BaseClassType;
00061 
00062 private:  friend class SourceLanguagesManager_Class;
00063   static CppClassType sourcelanguagesmanager_class_;
00064 
00065 private:
00066   // noncopyable
00067   SourceLanguagesManager(const SourceLanguagesManager&);
00068   SourceLanguagesManager& operator=(const SourceLanguagesManager&);
00069 
00070 protected:
00071   explicit SourceLanguagesManager(const Glib::ConstructParams& construct_params);
00072   explicit SourceLanguagesManager(GtkSourceLanguagesManager* castitem);
00073 
00074 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00075 
00076 public:
00077   virtual ~SourceLanguagesManager();
00078 
00079 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00080   static GType get_type()      G_GNUC_CONST;
00081   static GType get_base_type() G_GNUC_CONST;
00082 #endif
00083 
00085   GtkSourceLanguagesManager*       gobj()       { return reinterpret_cast<GtkSourceLanguagesManager*>(gobject_); }
00086 
00088   const GtkSourceLanguagesManager* gobj() const { return reinterpret_cast<GtkSourceLanguagesManager*>(gobject_); }
00089 
00091   GtkSourceLanguagesManager* gobj_copy();
00092 
00093 private:
00094 
00095 protected:
00096    SourceLanguagesManager();
00097 
00098 public:
00099 
00103    
00104   static Glib::RefPtr<SourceLanguagesManager> create();
00105 
00106  
00110     
00111   Glib::SListHandle<Glib::RefPtr<SourceLanguage> > get_available_languages() const;
00112 
00113     //_WRAP_METHOD(SourceLanguage& get_language_from_mime_type(const Glib::ustring &mime_type) const, gtk_source_languages_manager_get_language_from_mime_type)
00114 
00118     Glib::RefPtr<SourceLanguage> get_language_from_mime_type (const Glib::ustring &mime_type)  const;
00119     
00120 
00124     
00125   Glib::SListHandle<Glib::ustring> get_lang_files_dirs() const;
00126 
00127 
00128 public:
00129 
00130 public:
00131   //C++ methods used to invoke GTK+ virtual functions:
00132 #ifdef GLIBMM_VFUNCS_ENABLED
00133 #endif //GLIBMM_VFUNCS_ENABLED
00134 
00135 protected:
00136   //GTK+ Virtual Functions (override these to change behaviour):
00137 #ifdef GLIBMM_VFUNCS_ENABLED
00138 #endif //GLIBMM_VFUNCS_ENABLED
00139 
00140   //Default Signal Handlers::
00141 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00142 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00143 
00144 
00145 };
00146 
00147 } /* namespace gtksourceview */
00148 
00149 
00150 namespace Glib
00151 {
00157   Glib::RefPtr<gtksourceview::SourceLanguagesManager> wrap(GtkSourceLanguagesManager* object, bool take_copy = false);
00158 }
00159 
00160 
00161 #endif /* _GTKSOURCEVIEWMM_SOURCELANGUAGESMANAGER_H */
00162 

Generated on Mon Jan 22 13:25:34 2007 for libgtksourceviewmm by  doxygen 1.4.6