blob: 5a41a31731bab52f510a3fe3fc5205bef9e74493 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include "adwaitamm/private/breakpoint_p.hpp"
#include "adwaitamm/breakpoint.hpp"
#include <glibmm/class.h>
#include <glibmm/objectbase.h>
#include <gtkmm/buildable.h>
namespace Adwaita
{
auto Breakpoint_Class::init() -> Glib::Class const &
{
if (!gtype_)
{
class_init_func_ = &class_init_function;
gtype_ = adw_breakpoint_get_type();
Gtk::Buildable::add_interface(get_type());
}
return *this;
}
auto Breakpoint_Class::class_init_function(void * gclass, void * data) -> void
{
auto const klass = static_cast<BaseClassType *>(gclass);
CppClassParent::class_init_function(klass, data);
}
auto Breakpoint_Class::wrap_new(GObject * object) -> Glib::ObjectBase *
{
return new Breakpoint(ADW_BREAKPOINT(object));
}
} // namespace Adwaita
|