diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-06-08 14:53:13 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-06-08 14:53:13 +0200 |
| commit | 63aa6b86c211828c47027145ff405fd7e3fc5c3a (patch) | |
| tree | ff77a5279b845b0fa2d5d5ef7c11de97a71c5c96 /gui/tests/main.hpp | |
| parent | 0c5b0e03345d31406963e8ed8348a8c77ebe6352 (diff) | |
| download | turns-63aa6b86c211828c47027145ff405fd7e3fc5c3a.tar.xz turns-63aa6b86c211828c47027145ff405fd7e3fc5c3a.zip | |
gui: wrap tests in application
Diffstat (limited to 'gui/tests/main.hpp')
| -rw-r--r-- | gui/tests/main.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gui/tests/main.hpp b/gui/tests/main.hpp new file mode 100644 index 0000000..6aeda84 --- /dev/null +++ b/gui/tests/main.hpp @@ -0,0 +1,19 @@ +/* + * SPDX-FileCopyrightText: 2025 Felix Morgner <felix.morgner@gmail.com> + * SPDX-License-Identifier: LGPL-2.1-only + */ + +#ifndef TURNS_GUI_TESTS_MAIN_HPP +#define TURNS_GUI_TESTS_MAIN_HPP + +#include <adwaitamm/application.hpp> +#include <adwaitamm/applicationwindow.hpp> +#include <glibmm/refptr.h> + +namespace Turns::gui::tests::globals +{ + extern Glib::RefPtr<Adwaita::Application> app; + extern Glib::RefPtr<Adwaita::ApplicationWindow> win; +} // namespace Turns::gui::tests::globals + +#endif
\ No newline at end of file |
