60
60
//Declarations of the *_Class::wrap_new() methods, instead of including all the private headers:
62
namespace Pango { class Context_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; }
63
namespace Pango { class Font_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; }
64
namespace Pango { class FontFace_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; }
65
namespace Pango { class FontFamily_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; }
66
namespace Pango { class FontMap_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; }
67
namespace Pango { class Fontset_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; }
68
namespace Pango { class Layout_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; }
69
namespace Pango { class Renderer_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; }
62
class Context_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
63
class Font_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
64
class FontFace_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
65
class FontFamily_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
66
class FontMap_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
67
class Fontset_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
68
class Layout_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
69
class Renderer_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
75
// Register Error domains:
73
// Register Error domains in the main namespace:
77
// Map gtypes to gtkmm wrapper-creation functions:
78
Glib::wrap_register(pango_context_get_type(), &Pango::Context_Class::wrap_new);
79
Glib::wrap_register(pango_font_get_type(), &Pango::Font_Class::wrap_new);
80
Glib::wrap_register(pango_font_face_get_type(), &Pango::FontFace_Class::wrap_new);
81
Glib::wrap_register(pango_font_family_get_type(), &Pango::FontFamily_Class::wrap_new);
82
Glib::wrap_register(pango_font_map_get_type(), &Pango::FontMap_Class::wrap_new);
83
Glib::wrap_register(pango_fontset_get_type(), &Pango::Fontset_Class::wrap_new);
84
Glib::wrap_register(pango_layout_get_type(), &Pango::Layout_Class::wrap_new);
85
Glib::wrap_register(pango_renderer_get_type(), &Pango::Renderer_Class::wrap_new);
75
// Map gtypes to gtkmm wrapper-creation functions:
76
Glib::wrap_register(pango_context_get_type(), &Context_Class::wrap_new);
77
Glib::wrap_register(pango_font_get_type(), &Font_Class::wrap_new);
78
Glib::wrap_register(pango_font_face_get_type(), &FontFace_Class::wrap_new);
79
Glib::wrap_register(pango_font_family_get_type(), &FontFamily_Class::wrap_new);
80
Glib::wrap_register(pango_font_map_get_type(), &FontMap_Class::wrap_new);
81
Glib::wrap_register(pango_fontset_get_type(), &Fontset_Class::wrap_new);
82
Glib::wrap_register(pango_layout_get_type(), &Layout_Class::wrap_new);
83
Glib::wrap_register(pango_renderer_get_type(), &Renderer_Class::wrap_new);
87
85
// Register the gtkmm gtypes:
88
Pango::Context::get_type();
89
Pango::Font::get_type();
90
Pango::FontFace::get_type();
91
Pango::FontFamily::get_type();
92
Pango::FontMap::get_type();
93
Pango::Fontset::get_type();
94
Pango::Layout::get_type();
95
Pango::Renderer::get_type();
89
FontFamily::get_type();