aboutsummaryrefslogtreecommitdiff
path: root/src/app/app.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-16 19:31:24 +0100
committerHampusM <hampus@hampusmat.com>2022-02-16 19:31:24 +0100
commit91286f9dbb85fc2805345ba72468d5f145228be8 (patch)
tree9ad87c8d30e282e0c3478150efd901ef3dc17cca /src/app/app.hpp
parent5dae8f8d10d506abc3c75a1f66c1dfe620c84fc1 (diff)
refactor: create app class & simplify app options
Diffstat (limited to 'src/app/app.hpp')
-rw-r--r--src/app/app.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/app/app.hpp b/src/app/app.hpp
index d02c405..cafb864 100644
--- a/src/app/app.hpp
+++ b/src/app/app.hpp
@@ -2,4 +2,13 @@
#include "app/options.hpp"
-void app_start(const AppOptions &app_options);
+class App
+{
+public:
+ explicit App(const AppOptions &options);
+
+ void run();
+
+private:
+ const AppOptions &_options;
+};