xref: /haiku/src/tests/add-ons/print/pdf/bezierbounds/BBApp.h (revision 9d3fa071bfae97286acc512d757a05544ebc132b)
1 #ifndef CONNECT_APP_H
2 #define CONNECT_APP_H
3 
4 #include <AppKit.h>
5 #include <InterfaceKit.h>
6 #include "BBView.h"
7 #include "MsgConsts.h"
8 
9 #define APPLICATION "BezierBounds"
10 #define VERSION "1.0"
11 
12 class AppWindow : public BWindow {
13 public:
14 	BMenuBar *menubar;
15 	BBView *view;
16 	AppWindow(BRect);
17 	bool QuitRequested();
18 	void AboutRequested();
19 	void MessageReceived(BMessage *message);
20 };
21 
22 class App : public BApplication {
23 public:
24 	AppWindow *window;
25 	App();
26 };
27 
28 #define my_app ((App*)be_app)
29 #endif
30