stuff-from-scratch/apps/notes_tk/main.cpp
2023-12-27 12:20:02 +00:00

19 lines
416 B
C++

#include "Pointer.h"
#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;
}