diff options
author | HampusM <hampus@hampusmat.com> | 2022-02-16 19:31:24 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-02-16 19:31:24 +0100 |
commit | 91286f9dbb85fc2805345ba72468d5f145228be8 (patch) | |
tree | 9ad87c8d30e282e0c3478150efd901ef3dc17cca /src/app/app.hpp | |
parent | 5dae8f8d10d506abc3c75a1f66c1dfe620c84fc1 (diff) |
refactor: create app class & simplify app options
Diffstat (limited to 'src/app/app.hpp')
-rw-r--r-- | src/app/app.hpp | 11 |
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; +}; |