/* * Copyright 2009 Haiku Inc. All rights reserved. * Distributed under the terms of the MIT License. * * Author: * Artur Wyszynski */ #include #include "OpenGLApp.h" #include "OpenGLWindow.h" OpenGLApp::OpenGLApp() : BApplication("application/x-vnd.Haiku-OpenGL") { } OpenGLApp::~OpenGLApp() { } void OpenGLApp::ReadyToRun() { be_locale->GetAppCatalog(&fCatalog); fWindow = new OpenGLWindow(); fWindow->Show(); } int main(int argc, const char** argv) { OpenGLApp app; app.Run(); return 0; }