diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-04-24 20:12:26 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-04-25 07:43:33 +0200 |
| commit | 2c4e151343828af13b28ec39946b6bf34748c2b3 (patch) | |
| tree | 3572c1e224ad93e51c4a560198732e8f9bac7c99 /include/adwaitamm/private/preferencesrow_p.hpp | |
| parent | 96ce3ba51c152e854bcc5e7df1c53fe776ca554b (diff) | |
| download | libadwaitamm-2c4e151343828af13b28ec39946b6bf34748c2b3.tar.xz libadwaitamm-2c4e151343828af13b28ec39946b6bf34748c2b3.zip | |
adw: extract class definitions
Diffstat (limited to 'include/adwaitamm/private/preferencesrow_p.hpp')
| -rw-r--r-- | include/adwaitamm/private/preferencesrow_p.hpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/include/adwaitamm/private/preferencesrow_p.hpp b/include/adwaitamm/private/preferencesrow_p.hpp new file mode 100644 index 0000000..be0b25b --- /dev/null +++ b/include/adwaitamm/private/preferencesrow_p.hpp @@ -0,0 +1,36 @@ +#ifndef LIBADWAITAMM_PRIVATE_PREFERENCES_ROW_P_HPP +#define LIBADWAITAMM_PRIVATE_PREFERENCES_ROW_P_HPP + +#include <glibmm/class.h> +#include <glibmm/objectbase.h> + +#include <gtk/gtk.h> + +using AdwPreferencesRow = struct _AdwPreferencesRow; +using AdwPreferencesRowClass = struct _AdwPreferencesRowClass; + +namespace Gtk +{ + struct ListBoxRow_Class; +} // namespace Gtk + +namespace Adwaita +{ + struct PreferencesRow; + + struct PreferencesRow_Class : Glib::Class + { + using BaseClassParent = GtkListBoxRowClass; + using BaseClassType = AdwPreferencesRowClass; + using BaseObjectType = AdwPreferencesRow; + using CppClassParent = Gtk::ListBoxRow_Class; + using CppObjectType = PreferencesRow; + + auto init() -> Glib::Class const &; + auto static class_init_function(void * gclass, void * data) -> void; + auto static wrap_new(GObject * object) -> Glib::ObjectBase *; + }; + +} // namespace Adwaita + +#endif
\ No newline at end of file |
