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

19 lines
415 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;
}