2020-05-02 07:31:03 +00:00
|
|
|
#include <memory>
|
|
|
|
|
2022-12-02 11:50:15 +00:00
|
|
|
#include "NotesTk.h"
|
2020-05-02 07:31:03 +00:00
|
|
|
#include "MainApplication.h"
|
2020-05-09 14:29:45 +00:00
|
|
|
#include "CommandLineArgs.h"
|
2020-05-02 07:31:03 +00:00
|
|
|
|
2020-05-09 14:29:45 +00:00
|
|
|
int main(int argc, char *argv[])
|
2020-05-02 07:31:03 +00:00
|
|
|
{
|
2022-10-03 07:12:38 +00:00
|
|
|
auto args = CommandLineArgs::Create();
|
|
|
|
args->process(argc, argv);
|
|
|
|
args->recordLaunchPath();
|
2020-05-09 14:29:45 +00:00
|
|
|
|
2020-06-20 15:34:10 +00:00
|
|
|
// Start the gui app
|
2022-12-02 11:50:15 +00:00
|
|
|
auto app = NotesTk(std::move(args));
|
2022-11-14 14:57:50 +00:00
|
|
|
//app.setUiInterfaceBackend(UiInterfaceFactory::Backend::X11_RASTER);
|
2022-11-11 14:22:31 +00:00
|
|
|
app.run();
|
2020-05-02 07:31:03 +00:00
|
|
|
|
2020-06-20 15:34:10 +00:00
|
|
|
return 0;
|
2020-05-02 07:31:03 +00:00
|
|
|
}
|