// -*- c++ -*- // Generated by gtkmmproc -- DO NOT MODIFY! #ifndef _GTKMM_SOURCELANGUAGE_H #define _GTKMM_SOURCELANGUAGE_H #include <glibmm.h> /* $Id: sourcelanguage.h,v 1.1.1.1 2005/03/12 00:31:50 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 <gtkmm/object.h> #ifndef DOXYGEN_SHOULD_SKIP_THIS typedef struct _GtkSourceLanguage GtkSourceLanguage; typedef struct _GtkSourceLanguageClass GtkSourceLanguageClass; #endif /* DOXYGEN_SHOULD_SKIP_THIS */ namespace Gtk { class SourceLanguage_Class; } // namespace Gtk namespace Gtk { //class Widget; class SourceLanguage : public Glib::Object { public: #ifndef DOXYGEN_SHOULD_SKIP_THIS typedef SourceLanguage CppObjectType; typedef SourceLanguage_Class CppClassType; typedef GtkSourceLanguage BaseObjectType; typedef GtkSourceLanguageClass BaseClassType; #endif /* DOXYGEN_SHOULD_SKIP_THIS */ #ifndef DOXYGEN_SHOULD_SKIP_THIS private: friend class SourceLanguage_Class; static CppClassType sourcelanguage_class_; // noncopyable SourceLanguage(const SourceLanguage&); SourceLanguage& operator=(const SourceLanguage&); public: explicit SourceLanguage(const Glib::ConstructParams& construct_params); explicit SourceLanguage(GtkSourceLanguage* castitem); #endif /* DOXYGEN_SHOULD_SKIP_THIS */ public: virtual ~SourceLanguage(); #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. GtkSourceLanguage* gobj() { return reinterpret_cast<GtkSourceLanguage*>(gobject_); } ///Provides access to the underlying C GtkObject. const GtkSourceLanguage* gobj() const { return reinterpret_cast<GtkSourceLanguage*>(gobject_); } GtkSourceLanguage* gobj_copy(); public: //C++ methods used to invoke GTK+ virtual functions: protected: //GTK+ Virtual Functions (override these to change behaviour): //Default Signal Handlers:: private: public: SourceLanguage(); protected: public: }; } //namespace Gtk namespace Glib { Glib::RefPtr<Gtk::SourceLanguage> wrap(GtkSourceLanguage* object, bool take_copy = false); } #endif /* _GTKMM_TOOLTIPS_H */