repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / haiku3d / App.cpp
blob4302c1f9436f91abc08a706695491e64ff93fc91
1 /*
2 * Copyright 2009, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Alexandre Deckner <alex@zappotek.com>
7 */
10 #include "App.h"
12 #include "MainWindow.h"
15 App::App()
17 BApplication("application/x-vnd.Haiku-Haiku3d"),
18 fMainWindow(NULL)
23 App::~App()
28 void
29 App::ReadyToRun()
31 BRect frame(50, 50, 640 + 50, 480 + 50);
32 const char* title = "Haiku3d";
33 fMainWindow = new MainWindow(frame, title);
34 fMainWindow->Show();
38 bool
39 App::QuitRequested()
41 return true;
45 int
46 main(int argc, char** argv)
48 App app;
49 app.Run();
50 return 0;