repo.or.cz
/
haiku.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
headers/bsd: Add sys/queue.h.
[haiku.git]
/
src
/
tests
/
add-ons
/
print
/
pdf
/
linepathbuilder
/
LPBApp.h
blob
f45f7e1276a261a6a98b6763aa70891307b8af1c
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