stuff-from-scratch/apps/notes_tk/main.cpp
2023-12-18 10:16:31 +00:00

19 lines
413 B
C++

#include <memory>
#include "NotesTk.h"
#include "MainApplication.h"
#include "CommandLineArgs.h"
int main(int argc, char *argv[])
{
auto args = CommandLineArgs::Create();
args->process(argc, argv);
args->recordLaunchPath();
// Start the gui app
auto app = NotesTk(std::move(args));
app.setUiInterfaceBackend(UiInterfaceFactory::Backend::WAYLAND_RASTER);
app.run();
return 0;
}