diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 22 |
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() |