Move windows to uptr. Add simple text editing.
This commit is contained in:
parent
2bcc7b3d83
commit
b99708e7d3
55 changed files with 1257 additions and 994 deletions
|
@ -6,19 +6,19 @@
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
auto command_line_args = CommandLineArgs::CreateUnique();
|
||||
command_line_args->Process(argc, argv);
|
||||
command_line_args->RecordLaunchPath();
|
||||
auto args = CommandLineArgs::CreateUnique();
|
||||
args->Process(argc, argv);
|
||||
args->RecordLaunchPath();
|
||||
|
||||
// Start the main app
|
||||
auto main_app = MainApplication::Create();
|
||||
main_app->Initialize(std::move(command_line_args));
|
||||
// Start the main app
|
||||
auto main_app = MainApplication::Create();
|
||||
main_app->Initialize(std::move(args));
|
||||
|
||||
// Start the gui app
|
||||
auto gui_app = std::make_shared<GuiApplication>();
|
||||
gui_app->SetMainApplication(main_app);
|
||||
gui_app->Run();
|
||||
// Start the gui app
|
||||
auto gui_app = GuiApplication();
|
||||
gui_app.SetMainApplication(main_app);
|
||||
gui_app.Run();
|
||||
|
||||
main_app->ShutDown();
|
||||
return 0;
|
||||
main_app->ShutDown();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue