1 /* 2 * Copyright 2009 Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Artur Wyszynski <harakash@gmail.com> 7 */ 8 9 10 #include "OpenGLApp.h" 11 12 #include <Locale.h> 13 14 #include "OpenGLWindow.h" 15 16 OpenGLApp()17OpenGLApp::OpenGLApp() 18 : 19 BApplication("application/x-vnd.Haiku-GLInfo") 20 { 21 } 22 23 ~OpenGLApp()24OpenGLApp::~OpenGLApp() 25 { 26 } 27 28 29 void ReadyToRun()30OpenGLApp::ReadyToRun() 31 { 32 fWindow = new OpenGLWindow(); 33 fWindow->Show(); 34 } 35 36 main(int argc,const char ** argv)37int main(int argc, const char** argv) 38 { 39 OpenGLApp app; 40 app.Run(); 41 return 0; 42 } 43