summaryrefslogtreecommitdiff
path: root/adw/include/adwaitamm
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-04-28 14:01:30 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-04-28 14:01:30 +0200
commit29eb802f09da07421099238eceaee9e3b1d61ff2 (patch)
treed07784be13475237d58f65033959c1e27e6245c0 /adw/include/adwaitamm
parentdff2f80ddc8f742b8181409d6feeca33e856112e (diff)
downloadturns-29eb802f09da07421099238eceaee9e3b1d61ff2.tar.xz
turns-29eb802f09da07421099238eceaee9e3b1d61ff2.zip
adw: extract libadwaitamm
Diffstat (limited to 'adw/include/adwaitamm')
-rw-r--r--adw/include/adwaitamm/aboutdialog.hpp170
-rw-r--r--adw/include/adwaitamm/actionrow.hpp109
-rw-r--r--adw/include/adwaitamm/alertdialog.hpp76
-rw-r--r--adw/include/adwaitamm/application.hpp68
-rw-r--r--adw/include/adwaitamm/applicationwindow.hpp62
-rw-r--r--adw/include/adwaitamm/breakpoint.hpp96
-rw-r--r--adw/include/adwaitamm/comborow.hpp116
-rw-r--r--adw/include/adwaitamm/dialog.hpp128
-rw-r--r--adw/include/adwaitamm/entryrow.hpp122
-rw-r--r--adw/include/adwaitamm/enums.hpp97
-rw-r--r--adw/include/adwaitamm/helpers/async_callback.hpp15
-rw-r--r--adw/include/adwaitamm/helpers/gobj_mixin.hpp45
-rw-r--r--adw/include/adwaitamm/preferencesdialog.hpp61
-rw-r--r--adw/include/adwaitamm/preferencespage.hpp59
-rw-r--r--adw/include/adwaitamm/preferencesrow.hpp80
-rw-r--r--adw/include/adwaitamm/private/aboutdialog_p.hpp35
-rw-r--r--adw/include/adwaitamm/private/actionrow_p.hpp38
-rw-r--r--adw/include/adwaitamm/private/alertdialog_p.hpp35
-rw-r--r--adw/include/adwaitamm/private/application_p.hpp35
-rw-r--r--adw/include/adwaitamm/private/applicationwindow_p.hpp35
-rw-r--r--adw/include/adwaitamm/private/breakpoint_p.hpp36
-rw-r--r--adw/include/adwaitamm/private/comborow_p.hpp35
-rw-r--r--adw/include/adwaitamm/private/dialog_p.hpp39
-rw-r--r--adw/include/adwaitamm/private/entryrow_p.hpp35
-rw-r--r--adw/include/adwaitamm/private/preferencesdialog_p.hpp35
-rw-r--r--adw/include/adwaitamm/private/preferencespage_p.hpp35
-rw-r--r--adw/include/adwaitamm/private/preferencesrow_p.hpp35
-rw-r--r--adw/include/adwaitamm/private/spinrow_p.hpp35
-rw-r--r--adw/include/adwaitamm/private/stylemanager_p.hpp36
-rw-r--r--adw/include/adwaitamm/private/switchrow_p.hpp35
-rw-r--r--adw/include/adwaitamm/private/toast_p.hpp36
-rw-r--r--adw/include/adwaitamm/private/toastoverlay_p.hpp35
-rw-r--r--adw/include/adwaitamm/private/windowtitle_p.hpp39
-rw-r--r--adw/include/adwaitamm/spinrow.hpp117
-rw-r--r--adw/include/adwaitamm/stylemanager.hpp79
-rw-r--r--adw/include/adwaitamm/switchrow.hpp67
-rw-r--r--adw/include/adwaitamm/toast.hpp119
-rw-r--r--adw/include/adwaitamm/toastoverlay.hpp68
-rw-r--r--adw/include/adwaitamm/windowtitle.hpp78
-rw-r--r--adw/include/adwaitamm/wrap_init.hpp15
40 files changed, 0 insertions, 2491 deletions
diff --git a/adw/include/adwaitamm/aboutdialog.hpp b/adw/include/adwaitamm/aboutdialog.hpp
deleted file mode 100644
index 86f6751..0000000
--- a/adw/include/adwaitamm/aboutdialog.hpp
+++ /dev/null
@@ -1,170 +0,0 @@
-/**
- * @author Felix Morgner (felix.morgner@gmail.com)
- * @copyright Copyright (c) 2025
- * SPDX-License-Identifier: LGPL-2.1-or-later
- */
-
-#ifndef LIBADWAITAMM_ABOUT_DIALOG_HPP
-#define LIBADWAITAMM_ABOUT_DIALOG_HPP
-
-#include "adwaitamm/dialog.hpp"
-#include "adwaitamm/helpers/gobj_mixin.hpp"
-
-#include <glibmm/object.h>
-#include <glibmm/propertyproxy.h>
-#include <glibmm/refptr.h>
-#include <glibmm/signalproxy.h>
-#include <glibmm/ustring.h>
-
-#include <gtkmm/aboutdialog.h>
-
-#include <glib-object.h>
-
-#include <string>
-#include <vector>
-
-#define _ADWAITA_INSIDE
-#include <adw-about-dialog.h>
-#undef _ADWAITA_INSIDE
-
-namespace Adwaita
-{
- enum struct ResponseAppearance;
-
- struct AboutDialog final : Dialog,
- helpers::gobj_mixin<AboutDialog, AdwAboutDialog>
- {
- using BaseObjectType = AdwAboutDialog;
- using BaseClassType = AdwAboutDialogClass;
- using CppObjectType = AboutDialog;
- using CppClassType = struct AboutDialog_Class;
-
- using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj;
- using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj_copy;
-
-#pragma mark - Special Member Functions
- AboutDialog();
- AboutDialog(std::string resource_path, std::string release_notes_version);
- AboutDialog(AboutDialog const & other) = delete;
- AboutDialog(AboutDialog && other) noexcept = default;
-
- auto operator=(AboutDialog const & other) noexcept -> AboutDialog & = delete;
- auto operator=(AboutDialog && other) noexcept -> AboutDialog & = default;
-
-#pragma mark - GObject Support
- auto static get_type() -> GType;
- auto static get_base_type() -> GType;
-
-#pragma mark - Functions
- auto add_acknowledgement_section(Glib::ustring const & name, std::vector<Glib::ustring> const & people) -> void;
- auto add_credit_section(Glib::ustring const & name, std::vector<Glib::ustring> const & people) -> void;
- auto
- add_legal_section(Glib::ustring const & title, Glib::ustring const & copyright, Gtk::License license_type, Glib::ustring const & license)
- -> void;
- auto add_link(Glib::ustring const & title, Glib::ustring const & url) -> void;
- auto add_other_app(Glib::ustring const & id, Glib::ustring const & name, Glib::ustring const & summary) -> void;
-
-#pragma mark - Getters
- [[nodiscard]] auto get_application_icon() const -> Glib::ustring;
- [[nodiscard]] auto get_application_name() const -> Glib::ustring;
- [[nodiscard]] auto get_artists() const -> std::vector<Glib::ustring>;
- [[nodiscard]] auto get_comments() const -> Glib::ustring;
- [[nodiscard]] auto get_copyright() const -> Glib::ustring;
- [[nodiscard]] auto get_debug_info() const -> Glib::ustring;
- [[nodiscard]] auto get_debug_info_filename() const -> Glib::ustring;
- [[nodiscard]] auto get_designers() const -> std::vector<Glib::ustring>;
- [[nodiscard]] auto get_developer_name() const -> Glib::ustring;
- [[nodiscard]] auto get_developers() const -> std::vector<Glib::ustring>;
- [[nodiscard]] auto get_documenters() const -> std::vector<Glib::ustring>;
- [[nodiscard]] auto get_issue_url() const -> Glib::ustring;
- [[nodiscard]] auto get_license() const -> Glib::ustring;
- [[nodiscard]] auto get_license_type() const -> Gtk::License;
- [[nodiscard]] auto get_release_notes() const -> Glib::ustring;
- [[nodiscard]] auto get_release_notes_version() const -> Glib::ustring;
- [[nodiscard]] auto get_support_url() const -> Glib::ustring;
- [[nodiscard]] auto get_translator_credits() const -> Glib::ustring;
- [[nodiscard]] auto get_version() const -> Glib::ustring;
- [[nodiscard]] auto get_website() const -> Glib::ustring;
-
-#pragma mark - Setters
- auto set_application_icon(Glib::ustring const & value) -> void;
- auto set_application_name(Glib::ustring const & value) -> void;
- auto set_artists(std::vector<Glib::ustring> const & value) -> void;
- auto set_comments(Glib::ustring const & value) -> void;
- auto set_copyright(Glib::ustring const & value) -> void;
- auto set_debug_info(Glib::ustring const & value) -> void;
- auto set_debug_info_filename(Glib::ustring const & value) -> void;
- auto set_designers(std::vector<Glib::ustring> const & value) -> void;
- auto set_developer_name(Glib::ustring const & value) -> void;
- auto set_developers(std::vector<Glib::ustring> const & value) -> void;
- auto set_documenters(std::vector<Glib::ustring> const & value) -> void;
- auto set_issue_url(Glib::ustring const & value) -> void;
- auto set_license(Glib::ustring const & value) -> void;
- auto set_license_type(Gtk::License const & value) -> void;
- auto set_release_notes(Glib::ustring const & value) -> void;
- auto set_release_notes_version(Glib::ustring const & value) -> void;
- auto set_support_url(Glib::ustring const & value) -> void;
- auto set_translator_credits(Glib::ustring const & value) -> void;
- auto set_version(Glib::ustring const & value) -> void;
- auto set_website(Glib::ustring const & value) -> void;
-
-#pragma mark - Properties
- auto property_application_icon() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_application_icon() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_application_name() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_application_name() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_artists() -> Glib::PropertyProxy<std::vector<Glib::ustring>>;
- auto property_artists() const -> Glib::PropertyProxy_ReadOnly<std::vector<Glib::ustring>>;
- auto property_comments() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_comments() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_copyright() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_copyright() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_debug_info() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_debug_info() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_debug_info_filename() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_debug_info_filename() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_designers() -> Glib::PropertyProxy<std::vector<Glib::ustring>>;
- auto property_designers() const -> Glib::PropertyProxy_ReadOnly<std::vector<Glib::ustring>>;
- auto property_developer_name() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_developer_name() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_developers() -> Glib::PropertyProxy<std::vector<Glib::ustring>>;
- auto property_developers() const -> Glib::PropertyProxy_ReadOnly<std::vector<Glib::ustring>>;
- auto property_documenters() -> Glib::PropertyProxy<std::vector<Glib::ustring>>;
- auto property_documenters() const -> Glib::PropertyProxy_ReadOnly<std::vector<Glib::ustring>>;
- auto property_issue_url() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_issue_url() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_license_type() -> Glib::PropertyProxy<Gtk::License>;
- auto property_license_type() const -> Glib::PropertyProxy_ReadOnly<Gtk::License>;
- auto property_license() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_license() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_release_notes() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_release_notes() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_release_notes_version() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_release_notes_version() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_support_url() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_support_url() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_translator_credits() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_translator_credits() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_version() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_version() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_website() -> Glib::PropertyProxy<Glib::ustring>;
- auto property_website() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
-
-#pragma mark - Signals
- auto signal_activate_link() -> Glib::SignalProxy<bool(Glib::ustring const &)>;
-
- protected:
- friend AboutDialog_Class;
-
-#pragma mark - Internal Constructors
- explicit AboutDialog(Glib::ConstructParams const & params);
- explicit AboutDialog(BaseObjectType * gobj);
- };
-} // namespace Adwaita
-
-namespace Glib
-{
- auto wrap(AdwAboutDialog * object, bool copy = false) -> Adwaita::AboutDialog *;
-} // namespace Glib
-
-#endif \ No newline at end of file
diff --git a/adw/include/adwaitamm/actionrow.hpp b/adw/include/adwaitamm/actionrow.hpp
deleted file mode 100644
index 8b5db03..0000000
--- a/adw/include/adwaitamm/actionrow.hpp
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * @author Felix Morgner (felix.morgner@gmail.com)
- * @copyright Copyright (c) 2025
- * SPDX-License-Identifier: LGPL-2.1-or-later
- */
-
-#ifndef LIBADWAITAMM_ACTION_ROW_HPP
-#define LIBADWAITAMM_ACTION_ROW_HPP
-
-#include "adwaitamm/helpers/gobj_mixin.hpp"
-#include "adwaitamm/preferencesrow.hpp"
-
-#include <glibmm/class.h>
-#include <glibmm/object.h>
-#include <glibmm/objectbase.h>
-#include <glibmm/propertyproxy.h>
-#include <glibmm/signalproxy.h>
-#include <glibmm/ustring.h>
-
-#include <gtkmm/widget.h>
-
-#include <glib-object.h>
-#include <glib.h>
-
-#define _ADWAITA_INSIDE
-#include <adw-action-row.h>
-#undef _ADWAITA_INSIDE
-
-namespace Adwaita
-{
- struct ActionRow : PreferencesRow,
- helpers::gobj_mixin<ActionRow, AdwActionRow>
- {
- using BaseObjectType = AdwActionRow;
- using BaseClassType = AdwActionRowClass;
- using CppObjectType = ActionRow;
- using CppClassType = struct ActionRow_Class;
-
- using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj;
- using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj_copy;
-
- explicit ActionRow();
- ActionRow(ActionRow const & other) = delete;
- ActionRow(ActionRow && other) noexcept = default;
-
- auto operator=(ActionRow const & other) noexcept -> ActionRow & = delete;
- auto operator=(ActionRow && other) noexcept -> ActionRow & = default;
-
- auto static get_type() -> GType;
- auto static get_base_type() -> GType;
-
-#pragma mark - Functions
- auto activate() -> void;
- auto add_prefix(Gtk::Widget & widget) -> void;
- auto add_suffix(Gtk::Widget & widget) -> void;
- auto remove(Gtk::Widget & widget) -> void;
-
-#pragma mark - Getters
- auto get_activatable_widget() const noexcept -> Gtk::Widget *;
- [[deprecated("replaced by add_prefix")]] auto get_icon_name() const -> Glib::ustring;
- auto get_subtitle() const -> Glib::ustring;
- auto get_subtitle_lines() const noexcept -> int;
- auto get_subtitle_selectable() const noexcept -> bool;
- auto get_title_lines() const noexcept -> int;
-
-#pragma mark - Setters
- auto set_activatable_widget(Gtk::Widget & widget) noexcept -> void;
- [[deprecated("replaced by add_prefix")]] auto set_icon_name(Glib::ustring const & name) -> void;
- auto set_subtitle(Glib::ustring const & subtitle) -> void;
- auto set_subtitle_lines(int subtitle_lines) noexcept -> void;
- auto set_subtitle_selectable(bool subtitle_selectable) noexcept -> void;
- auto set_title_lines(int title_lines) noexcept -> void;
-
-#pragma mark - Properties
- auto property_activatable_widget() noexcept -> Glib::PropertyProxy<Gtk::Widget *>;
- auto property_activatable_widget() const noexcept -> Glib::PropertyProxy_ReadOnly<Gtk::Widget *>;
- [[deprecated("replaced by add_prefix")]] auto property_icon_name() noexcept -> Glib::PropertyProxy<Glib::ustring>;
- [[deprecated("replaced by add_prefix")]] auto property_icon_name() const noexcept -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_subtitle() noexcept -> Glib::PropertyProxy<Glib::ustring>;
- auto property_subtitle() const noexcept -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
- auto property_subtitle_lines() noexcept -> Glib::PropertyProxy<int>;
- auto property_subtitle_lines() const noexcept -> Glib::PropertyProxy_ReadOnly<int>;
- auto property_subtitle_selectable() noexcept -> Glib::PropertyProxy<bool>;
- auto property_subtitle_selectable() const noexcept -> Glib::PropertyProxy_ReadOnly<bool>;
- auto property_title_lines() noexcept -> Glib::PropertyProxy<int>;
- auto property_title_lines() const noexcept -> Glib::PropertyProxy_ReadOnly<int>;
-
-#pragma mark - Signals
- auto signal_activated() -> Glib::SignalProxy<void()>;
-
- protected:
- friend struct ActionRow_Class;
-
-#pragma mark - GTK Virtual Functions
- auto virtual activate_vfunc() -> void;
-
-#pragma mark - Internal Constructors
- explicit ActionRow(Glib::ConstructParams const & params);
- explicit ActionRow(BaseObjectType * gobj);
- };
-
-} // namespace Adwaita
-
-namespace Glib
-{
- auto wrap(AdwActionRow * object, bool copy = false) -> Adwaita::ActionRow *;
-} // namespace Glib
-
-#endif \ No newline at end of file
diff --git a/adw/include/adwaitamm/alertdialog.hpp b/adw/include/adwaitamm/alertdialog.hpp
deleted file mode 100644
index 367512d..0000000
--- a/adw/include/adwaitamm/alertdialog.hpp
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- * @author Felix Morgner (felix.morgner@gmail.com)
- * @copyright Copyright (c) 2025
- * SPDX-License-Identifier: LGPL-2.1-or-later
- */
-
-#ifndef LIBADWAITAMM_ALERT_DIALOG_HPP
-#define LIBADWAITAMM_ALERT_DIALOG_HPP
-
-#include "adwaitamm/dialog.hpp"
-#include "adwaitamm/helpers/gobj_mixin.hpp"
-
-#include <glibmm/class.h>
-#include <glibmm/object.h>
-#include <glibmm/objectbase.h>
-#include <glibmm/refptr.h>
-#include <glibmm/ustring.h>
-
-#include <giomm/asyncresult.h>
-#include <giomm/cancellable.h>
-
-#include <gtkmm/widget.h>
-
-#include <glib-object.h>
-
-#define _ADWAITA_INSIDE
-#include <adw-alert-dialog.h>
-#undef _ADWAITA_INSIDE
-
-namespace Adwaita
-{
- enum struct ResponseAppearance;
-
- struct AlertDialog : Dialog,
- helpers::gobj_mixin<AlertDialog, AdwAlertDialog>
- {
- using BaseObjectType = AdwAlertDialog;
- using BaseClassType = AdwAlertDialogClass;
- using CppObjectType = AlertDialog;
- using CppClassType = struct AlertDialog_Class;
-
- using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj;
- using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj_copy;
-
- AlertDialog(Glib::ustring heading, Glib::ustring body);
- AlertDialog(AlertDialog const & other) = delete;
- AlertDialog(AlertDialog && other) noexcept = default;
-
- auto operator=(AlertDialog const & other) noexcept -> AlertDialog & = delete;
- auto operator=(AlertDialog && other) noexcept -> AlertDialog & = default;
-
- auto static create(Glib::ustring heading, Glib::ustring body) -> Glib::RefPtr<AlertDialog>;
- auto static get_type() -> GType;
- auto static get_base_type() -> GType;
-
- auto add_response(Glib::ustring id, Glib::ustring label) -> void;
- auto choose(Gtk::Widget & parent, Glib::RefPtr<Gio::Cancellable> const & cancellable, Gio::SlotAsyncReady const & slot) -> void;
- auto choose_finish(Glib::RefPtr<Gio::AsyncResult> const & result) -> Glib::ustring;
- auto set_close_response(Glib::ustring id) -> void;
- auto set_default_response(Glib::ustring id) -> void;
- auto set_response_appearance(Glib::ustring id, ResponseAppearance value) -> void;
-
- protected:
- friend AlertDialog_Class;
-
- explicit AlertDialog(Glib::ConstructParams const & params);
- explicit AlertDialog(BaseObjectType * gobj);
- };
-} // namespace Adwaita
-
-namespace Glib
-{
- auto wrap(AdwAlertDialog * object, bool copy = false) -> Adwaita::AlertDialog *;
-} // namespace Glib
-
-#endif \ No newline at end of file
diff --git a/adw/include/adwaitamm/application.hpp b/adw/include/adwaitamm/application.hpp
deleted file mode 100644
index 0da9427..0000000
--- a/adw/include/adwaitamm/application.hpp
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
- * @author Felix Morgner (felix.morgner@gmail.com)
- * @copyright Copyright (c) 2025
- * SPDX-License-Identifier: LGPL-2.1-or-later
- */
-
-#ifndef LIBADWAITAMM_APPLICATION_HPP
-#define LIBADWAITAMM_APPLICATION_HPP
-
-#include "adwaitamm/helpers/gobj_mixin.hpp"
-
-#include <glibmm/object.h>
-#include <glibmm/refptr.h>
-#include <glibmm/ustring.h>
-
-#include <giomm/application.h>
-
-#include <gtkmm/application.h>
-
-#include <glib-object.h>
-
-#define _ADWAITA_INSIDE
-#include <adw-application.h>
-#undef _ADWAITA_INSIDE
-
-namespace Adwaita
-{
- struct Application : Gtk::Application,
- helpers::gobj_mixin<Application, AdwApplication>
- {
- using BaseObjectType = AdwApplication;
- using BaseClassType = AdwApplicationClass;
- using CppObjectType = Application;
- using CppClassType = struct Application_Class;
-
- using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj;
- using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj_copy;
-
- Application(Application const & other) = delete;
- Application(Application && other) noexcept = default;
-
- auto operator=(Application const & other) noexcept -> Application & = delete;
- auto operator=(Application && other) noexcept -> Application & = default;
-
- auto static create(Glib::ustring const & id = {}, Gio::Application::Flags flags = Gio::Application::Flags::NONE)
- -> Glib::RefPtr<Application>;
-
- auto static get_type() -> GType;
- auto static get_base_type() -> GType;
-
- protected:
- friend Application_Class;
-
- explicit Application(Glib::ConstructParams const & params);
- explicit Application(BaseObjectType * gobj);
- explicit Application(Glib::ustring const & id = {}, Gio::Application::Flags flags = Gio::Application::Flags::NONE);
-
- private:
- Glib::Class const & custom_class_init();
- };
-} // namespace Adwaita
-
-namespace Glib
-{
- auto wrap(AdwApplication * object, bool copy = false) -> Glib::RefPtr<Adwaita::Application>;
-} // namespace Glib
-
-#endif \ No newline at end of file
diff --git a/adw/include/adwaitamm/applicationwindow.hpp b/adw/include/adwaitamm/applicationwindow.hpp
deleted file mode 100644
index c2fa0d1..0000000
--- a/adw/include/adwaitamm/applicationwindow.hpp
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * @author Felix Morgner (felix.morgner@gmail.com)
- * @copyright Copyright (c) 2025
- * SPDX-License-Identifier: LGPL-2.1-or-later
- */
-
-#ifndef LIBADWAITAMM_APPLICATION_WINDOW_HPP
-#define LIBADWAITAMM_APPLICATION_WINDOW_HPP
-
-#include "helpers/gobj_mixin.hpp"
-
-#include <glibmm/object.h>
-#include <glibmm/objectbase.h>
-#include <glibmm/refptr.h>
-#include <glibmm/ustring.h>
-
-#include <gtkmm/application.h>
-#include <gtkmm/applicationwindow.h>
-
-#include <glib-object.h>
-
-#define _ADWAITA_INSIDE
-#include <adw-application-window.h>
-#undef _ADWAITA_INSIDE
-
-namespace Adwaita
-{
- struct ApplicationWindow : Gtk::ApplicationWindow,
- helpers::gobj_mixin<ApplicationWindow, AdwApplicationWindow>
- {
- using BaseObjectType = AdwApplicationWindow;
- using BaseClassType = AdwApplicationWindowClass;
- using CppObjectType = ApplicationWindow;
- using CppClassType = struct ApplicationWindow_Class;
-
- using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj;
- using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj_copy;
-
- explicit ApplicationWindow(Gtk::Application & app);
- ApplicationWindow(ApplicationWindow const & other) = delete;
- ApplicationWindow(ApplicationWindow && other) noexcept = default;
-
- auto operator=(ApplicationWindow const & other) noexcept -> ApplicationWindow & = delete;
- auto operator=(ApplicationWindow && other) noexcept -> ApplicationWindow & = default;
-
- auto static get_type() -> GType;
- auto static get_base_type() -> GType;
-
- protected:
- friend ApplicationWindow_Class;
-
- explicit ApplicationWindow(Glib::ConstructParams const & params);
- explicit ApplicationWindow(BaseObjectType * gobj);
- };
-} // namespace Adwaita
-
-namespace Glib
-{
- auto wrap(AdwApplicationWindow * object, bool copy = false) -> Adwaita::ApplicationWindow *;
-} // namespace Glib
-
-#endif \ No newline at end of file
diff --git a/adw/include/adwaitamm/breakpoint.hpp b/adw/include/adwaitamm/breakpoint.hpp
deleted file mode 100644
index 4b40574..0000000
--- a/adw/include/adwaitamm/breakpoint.hpp
+++ /dev/null
@@ -1,96 +0,0 @@
-/**
- * @author Felix Morgner (felix.morgner@gmail.com)
- * @copyright Copyright (c) 2025
- * SPDX-License-Identifier: LGPL-2.1-or-later
- */
-
-#ifndef LIBADWAITAMM_BREAKPOINT_HPP
-#define LIBADWAITAMM_BREAKPOINT_HPP
-
-#include "adwaitamm/helpers/gobj_mixin.hpp"
-
-#include <glibmm/object.h>
-#include <glibmm/propertyproxy.h>
-#include <glibmm/refptr.h>
-#include <glibmm/ustring.h>
-
-#include <gtkmm/buildable.h>
-
-#include <glib-object.h>
-
-#include <optional>
-
-#define _ADWAITA_INSIDE
-#include <adw-breakpoint.h>
-#undef _ADWAITA_INSIDE
-
-namespace Adwaita
-{
- enum struct LengthType;
- enum struct RatioType;
-
- struct BreakpointCondition
- {
- BreakpointCondition(BreakpointCondition const & other);
- BreakpointCondition(BreakpointCondition && other);
- BreakpointCondition(LengthType type, double value, int unit); // FIXME: replace unit type with actual enum.
- BreakpointCondition(RatioType type, int width, int height);
-
- ~BreakpointCondition() noexcept;
-
- auto operator&&(BreakpointCondition & rhs) & -> BreakpointCondition;
- auto operator||(BreakpointCondition & lhs) & -> BreakpointCondition;
-
- explicit operator Glib::ustring() const;
-
- auto static parse(Glib::ustring str) -> std::optional<BreakpointCondition>;
-
- private:
- friend struct Breakpoint;
-
- explicit BreakpointCondition(AdwBreakpointCondition * object);
-
- AdwBreakpointCondition * m_object{nullptr};
- };
-
- struct Breakpoint final : Glib::Object,
- Gtk::Buildable,
- helpers::gobj_mixin<Breakpoint, AdwBreakpoint>
- {
- using BaseObjectType = AdwBreakpoint;
- using BaseClassType = AdwBreakpointClass;
- using CppObjectType = Breakpoint;
- using CppClassType = struct Breakpoint_Class;
-
- using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj;
- using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj_copy;
-
- Breakpoint(Breakpoint const & other) = delete;
- Breakpoint(Breakpoint && other) noexcept = default;
-
- auto operator=(Breakpoint const & other) noexcept -> Breakpoint & = delete;
- auto operator=(Breakpoint && other) noexcept -> Breakpoint & = default;
-
- auto static create(BreakpointCondition & condition) -> Glib::RefPtr<Breakpoint>;
- auto static get_type() -> GType;
- auto static get_base_type() -> GType;
-
- auto property_condition() -> Glib::PropertyProxy<BreakpointCondition *>;
- auto property_condition() const -> Glib::PropertyProxy_ReadOnly<BreakpointCondition *>;
-
- protected:
- friend Breakpoint_Class;
-
- explicit Breakpoint(BreakpointCondition & condition);
- explicit Breakpoint(Glib::ConstructParams const & params);
- explicit Breakpoint(BaseObjectType * gobj);
- };
-
-} // namespace Adwaita
-
-namespace Glib
-{
- auto wrap(AdwBreakpoint * object, bool copy = false) -> Glib::RefPtr<Adwaita::Breakpoint>;
-} // namespace Glib
-
-#endif \ No newline at end of file
diff