summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-24 20:00:16 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-24 20:00:16 -0500
commit348a1bfb244288b1c78d8ce3c8d8a8cb5c1bdebc (patch)
tree2f174aab662d753f2a9994fe6d0b7a1a06723156 /src/main.cpp
parent88864f8e3a4d87566d157ac176da3cb56257ca6d (diff)
Start app rendering.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp22
1 files changed, 3 insertions, 19 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5b4413e..d172586 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,9 +1,7 @@
#include <spdlog/cfg/env.h>
#include <spdlog/spdlog.h>
-// #include "main_window.hpp"
-#include "stb_image.h"
-#include "demo.hpp"
+#include "bookmouse.hpp"
void setupLogging()
{
@@ -19,22 +17,8 @@ int main(int argc, char* argv[])
setupLogging();
- fud::String filename{"Excel Saga Vol. 01/000.jpg"};
- return bookmouse::demo(filename);
-
-#if 0
- bookmouse::BookmouseApp bookmouse{};
-
- QCommandLineParser parser;
- parser.setApplicationDescription(QApplication::translate("main", "A comic book and manga reader"));
- parser.addHelpOption();
- parser.addVersionOption();
-
- parser.process(app);
-
- return app.exec();
-#endif
- return 0;
+ bookmouse::Bookmouse bookmouse{};
+ return bookmouse.run();
}
void load_levels_example()