vfs: check userland buffers before reading them.
[haiku.git] / src / tests / add-ons / print / pdf / bezierbounds / BBApp.h
blob5d164a716e2987e446ec5018cd31502d7d279ce3
1 #ifndef CONNECT_APP_H
2 #define CONNECT_APP_H
4 #include <AppKit.h>
5 #include <InterfaceKit.h>
6 #include "BBView.h"
7 #include "MsgConsts.h"
9 #define APPLICATION "BezierBounds"
10 #define VERSION "1.0"
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);
22 class App : public BApplication {
23 public:
24 AppWindow *window;
25 App();
28 #define my_app ((App*)be_app)
29 #endif