2 Copyright 1999, Be Incorporated. All Rights Reserved.
3 This file may be used under the terms of the Be Sample Code License.
13 main(int argc
, char** argv
)
15 TeapotApp
* app
= new TeapotApp("application/x-vnd.Haiku-GLTeapot");
22 TeapotApp::TeapotApp(const char* sign
)
26 fTeapotWindow
= new TeapotWindow(BRect(5, 25, 300, 315),
27 B_TRANSLATE_SYSTEM_NAME("GLTeapot"), B_TITLED_WINDOW
, 0);
28 fTeapotWindow
->Show();
33 TeapotApp::MessageReceived(BMessage
* msg
)
38 BApplication::MessageReceived(msg
);