stuff-from-scratch/apps/sample-gui/gui-main.cpp
2022-11-11 14:22:31 +00:00

19 lines
413 B
C++

#include <memory>
#include "MediaTool.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 = MediaTool(std::move(args));
app.setUiInterfaceBackend(UiInterfaceFactory::Backend::X11_RASTER);
app.run();
return 0;
}