// -*- c++ -*- // Generated by gtkmmproc -- DO NOT MODIFY! #ifndef _GTKMM_SOURCELANGUAGESMANAGER_H #define _GTKMM_SOURCELANGUAGESMANAGER_H #include <glibmm.h> /* $Id: sourcelanguagesmanager.h,v 1.2 2005/12/03 23:26:04 rainbowbrian Exp $ */ /* Copyright (C) 1998-2002 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <gtksourceviewmm/sourcelanguage.h> #ifndef DOXYGEN_SHOULD_SKIP_THIS typedef struct _GtkSourceLanguagesManager GtkSourceLanguagesManager; typedef struct _GtkSourceLanguagesManagerClass GtkSourceLanguagesManagerClass; #endif /* DOXYGEN_SHOULD_SKIP_THIS */ namespace Gtk { class SourceLanguagesManager_Class; } // namespace Gtk namespace Gtk { class Widget; class SourceLanguagesManager : public Glib::Object { public: #ifndef DOXYGEN_SHOULD_SKIP_THIS typedef SourceLanguagesManager CppObjectType; typedef SourceLanguagesManager_Class CppClassType; typedef GtkSourceLanguagesManager BaseObjectType; typedef GtkSourceLanguagesManagerClass BaseClassType; #endif /* DOXYGEN_SHOULD_SKIP_THIS */ virtual ~SourceLanguagesManager(); #ifndef DOXYGEN_SHOULD_SKIP_THIS private: friend class SourceLanguagesManger_Class; static CppClassType sourcelanguagesmanager_class_; // noncopyable SourceLanguagesManager(const SourceLanguagesManager&); SourceLanguagesManager& operator=(const SourceLanguagesManager&); public: explicit SourceLanguagesManager(const Glib::ConstructParams& construct_params); explicit SourceLanguagesManager(GtkSourceLanguagesManager* castitem); #endif /* DOXYGEN_SHOULD_SKIP_THIS */ public: #ifndef DOXYGEN_SHOULD_SKIP_THIS static GType get_type() G_GNUC_CONST; static GType get_base_type() G_GNUC_CONST; #endif ///Provides access to the underlying C GtkObject. GtkSourceLanguagesManager* gobj() { return reinterpret_cast<GtkSourceLanguagesManager*>(gobject_); } ///Provides access to the underlying C GtkObject. const GtkSourceLanguagesManager* gobj() const { return reinterpret_cast<GtkSourceLanguagesManager*>(gobject_); } public: //C++ methods used to invoke GTK+ virtual functions: protected: //GTK+ Virtual Functions (override these to change behaviour): //Default Signal Handlers:: private: public: SourceLanguagesManager(); const GSList* get_available_languages(); Glib::RefPtr<Gtk::SourceLanguage> get_language_from_mime_type(const Glib::ustring mime_type); const GSList* get_lang_files_dirs(); protected: public: }; } //namespace Gtk namespace Glib { Glib::RefPtr<Gtk::SourceLanguagesManager> wrap(GtkSourceLanguagesManager* object, bool take_copy = false); } #endif /* _GTKMM_TOOLTIPS_H */