summaryrefslogtreecommitdiffhomepage
path: root/App.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-05-21 15:31:39 +0200
committerAki <please@ignore.pl>2022-05-21 15:31:56 +0200
commit15ba7976d44eefb5db43db95c99c868b1f119636 (patch)
treeeab188cc49f50cdf6da5905baa5f543ea2afc5b6 /App.h
parenta26e53c7aa39d0b2ab8ef7b80bdf663563aed91c (diff)
downloadderelict-15ba7976d44eefb5db43db95c99c868b1f119636.zip
derelict-15ba7976d44eefb5db43db95c99c868b1f119636.tar.gz
derelict-15ba7976d44eefb5db43db95c99c868b1f119636.tar.bz2
Moved view and window management to App class
Diffstat (limited to 'App.h')
-rw-r--r--App.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/App.h b/App.h
new file mode 100644
index 0000000..0ace948
--- /dev/null
+++ b/App.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <memory>
+
+#include "View.h"
+
+
+class App
+{
+public:
+ App();
+ ~App();
+ void assign(std::unique_ptr<View> view);
+ void loop();
+private:
+ std::unique_ptr<View> m_view;
+};