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 12class AppWindow : public BWindow { 13public: 14 BMenuBar *menubar; 15 PathView *view; 16 AppWindow(BRect); 17 bool QuitRequested(); 18 void AboutRequested(); 19 void MessageReceived(BMessage *message); 20}; 21 22class App : public BApplication { 23public: 24 AppWindow *window; 25 App(); 26}; 27 28#define my_app ((App*)be_app) 29#endif 30