diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-04-26 16:33:35 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-04-26 16:33:35 +0200 |
| commit | 4e4332cb402fd3151e11e7e3b6d673388d7bb4a9 (patch) | |
| tree | a3f578c2990ad5db74c892666357a9a90a58f3d1 /adw/include/adwaitamm/private | |
| parent | 9d18485db854f4d430e7c45d9538330b21dd66c3 (diff) | |
| download | turns-4e4332cb402fd3151e11e7e3b6d673388d7bb4a9.tar.xz turns-4e4332cb402fd3151e11e7e3b6d673388d7bb4a9.zip | |
adw: implement AboutDialog
Diffstat (limited to 'adw/include/adwaitamm/private')
| -rw-r--r-- | adw/include/adwaitamm/private/aboutdialog_p.hpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/adw/include/adwaitamm/private/aboutdialog_p.hpp b/adw/include/adwaitamm/private/aboutdialog_p.hpp new file mode 100644 index 0000000..754b631 --- /dev/null +++ b/adw/include/adwaitamm/private/aboutdialog_p.hpp @@ -0,0 +1,35 @@ +/** + * @author Felix Morgner (felix.morgner@gmail.com) + * @copyright Copyright (c) 2025 + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + + #ifndef LIBADWAITAMM_PRIVATE_ABOUT_DIALOG_P_HPP + #define LIBADWAITAMM_PRIVATE_ABOUT_DIALOG_P_HPP + + #include "adwaitamm/private/dialog_p.hpp" + + #include <glibmm/class.h> + #include <glibmm/objectbase.h> + + #define _ADWAITA_INSIDE + #include <adw-about-dialog.h> + #undef _ADWAITA_INSIDE + + namespace Adwaita + { + struct AboutDialog_Class : Glib::Class + { + using BaseClassParent = AdwDialogClass; + using BaseClassType = AdwAboutDialogClass; + using BaseObjectType = AdwAboutDialog; + using CppClassParent = Dialog_Class; + using CppObjectType = struct AboutDialog; + + 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 |
