From f597be870eec6d04de6bed0effa7dd23bcb72bf8 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 11 Jul 2024 13:17:03 +0200 Subject: initial commit --- app/src/main.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 app/src/main.cpp (limited to 'app/src/main.cpp') diff --git a/app/src/main.cpp b/app/src/main.cpp new file mode 100644 index 0000000..b9bf468 --- /dev/null +++ b/app/src/main.cpp @@ -0,0 +1,23 @@ +#include "turns/app/application.hpp" + +#include + +class MyWindow : public Gtk::Window +{ +public: + MyWindow(); +}; + +MyWindow::MyWindow() +{ + set_title("Basic application"); + set_default_size(200, 200); +} + +auto main(int argc, char * argv[]) -> int +{ + adw_init(); + + auto app = turns::app::application::create(); + return app->run(argc, argv); +} \ No newline at end of file -- cgit v1.2.3