BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / apps / glteapot / TeapotApp.cpp
blob72d0d498f714bdc78b36f91d2d0c28ce2b49be06
1 /*
2 Copyright 1999, Be Incorporated. All Rights Reserved.
3 This file may be used under the terms of the Be Sample Code License.
4 */
7 #include "TeapotApp.h"
9 #include <Catalog.h>
12 int
13 main(int argc, char** argv)
15 TeapotApp* app = new TeapotApp("application/x-vnd.Haiku-GLTeapot");
16 app->Run();
17 delete app;
18 return 0;
22 TeapotApp::TeapotApp(const char* sign)
24 BApplication(sign)
26 fTeapotWindow = new TeapotWindow(BRect(5, 25, 300, 315),
27 B_TRANSLATE_SYSTEM_NAME("GLTeapot"), B_TITLED_WINDOW, 0);
28 fTeapotWindow->Show();
32 void
33 TeapotApp::MessageReceived(BMessage* msg)
35 switch (msg->what) {
37 default:
38 BApplication::MessageReceived(msg);