diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-04-03 18:41:43 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-04-03 18:41:43 +0200 |
| commit | 7423eb56342bc58a5705ab55a50f1b08177afcf8 (patch) | |
| tree | cf538fa7c0a3c7f4d07f6aa7dc6def916e7407f4 /include/turns/adw/preferencesdialog.hpp | |
| parent | 9b97aab3c81c29e9e3552e97d66a02beeb3790a5 (diff) | |
| download | libadwaitamm-7423eb56342bc58a5705ab55a50f1b08177afcf8.tar.xz libadwaitamm-7423eb56342bc58a5705ab55a50f1b08177afcf8.zip | |
adw: prepare files for extraction
Diffstat (limited to 'include/turns/adw/preferencesdialog.hpp')
| -rw-r--r-- | include/turns/adw/preferencesdialog.hpp | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/include/turns/adw/preferencesdialog.hpp b/include/turns/adw/preferencesdialog.hpp deleted file mode 100644 index 324ab1d..0000000 --- a/include/turns/adw/preferencesdialog.hpp +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef TURNS_ADW_PREFERENCES_DIALOG_HPP -#define TURNS_ADW_PREFERENCES_DIALOG_HPP - -#include "dialog.hpp" -#include "helpers/gobj_mixin.hpp" -#include "turns/adw/preferencespage.hpp" - -#include <glibmm/class.h> -#include <glibmm/object.h> -#include <glibmm/objectbase.h> -#include <glibmm/refptr.h> -#include <glibmm/ustring.h> - -#include <gtkmm/widget.h> - -#include <glib-object.h> - -using AdwPreferencesDialog = struct _AdwPreferencesDialog; -using AdwPreferencesDialogClass = struct _AdwPreferencesDialogClass; - -namespace turns::adw -{ - struct PreferencesDialog_Class; - - struct PreferencesDialog : adw::Dialog, - helpers::gobj_mixin<PreferencesDialog, AdwPreferencesDialog> - { - struct Class : Glib::Class - { - using BaseClassParent = AdwDialogClass; - using BaseClassType = AdwPreferencesDialogClass; - using BaseObjectType = AdwPreferencesDialog; - using CppClassParent = adw::Dialog::Class; - using CppObjectType = PreferencesDialog; - - auto init() -> Glib::Class const &; - auto static class_init_function(void * gclass, void * data) -> void; - auto static wrap_new(GObject * object) -> Glib::ObjectBase *; - }; - - using BaseObjectType = Class::BaseObjectType; - using BaseClassType = Class::BaseClassType; - using CppObjectType = Class::CppObjectType; - using CppClassType = Class; - - using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj; - using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj_copy; - - explicit PreferencesDialog(); - PreferencesDialog(PreferencesDialog const & other) = delete; - PreferencesDialog(PreferencesDialog && other) noexcept = default; - - auto operator=(PreferencesDialog const & other) noexcept -> PreferencesDialog & = delete; - auto operator=(PreferencesDialog && other) noexcept -> PreferencesDialog & = default; - - auto static get_type() -> GType; - auto static get_base_type() -> GType; - - auto add(adw::PreferencesPage & page) -> void; - - protected: - explicit PreferencesDialog(Glib::ConstructParams const & params); - explicit PreferencesDialog(BaseObjectType * gobj); - }; -} // namespace turns::adw - -namespace Glib -{ - auto wrap(AdwPreferencesDialog * object, bool copy = false) -> turns::adw::PreferencesDialog *; -} // namespace Glib - -#endif
\ No newline at end of file |
