xref: /haiku/src/tests/add-ons/print/pdf/linepathbuilder/LPBApp.h (revision 1deede7388b04dbeec5af85cae7164735ea9e70d)
1 #ifndef CONNECT_APP_H
2 #define CONNECT_APP_H
3 
4 #include <AppKit.h>
5 #include <InterfaceKit.h>
6 #include "PathView.h"
7 #include "MsgConsts.h"
8 
9 #define APPLICATION "LinePathBuilder"
10 #define VERSION "1.0"
11 
12 class AppWindow : public BWindow {
13 public:
14 	BMenuBar *menubar;
15 	PathView *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