diff options
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 |
