Last change
on this file since 75 was 75, checked in by ansari, 28 years ago |
Modifs interface copier/coller, et fonction PrefSize() ds PIApplication
Reza 13/02/98
|
File size:
1012 bytes
|
Line | |
---|
1 | #ifndef PIAPPLGEN_H_SEEN
|
---|
2 | #define PIAPPLGEN_H_SEEN
|
---|
3 |
|
---|
4 | #include "pimsghandler.h"
|
---|
5 | #include "pisysdep.h"
|
---|
6 | #include PICONT_H
|
---|
7 | #include PIMENUBAR_H
|
---|
8 |
|
---|
9 | class PIApplicationGen : public PIMsgHandler {
|
---|
10 | public:
|
---|
11 | enum { kReadyState=0, kBusyState=1, kBlockedState=2 };
|
---|
12 |
|
---|
13 | PIApplicationGen();
|
---|
14 | virtual ~PIApplicationGen();
|
---|
15 |
|
---|
16 | virtual void Run()=0;
|
---|
17 | virtual void Stop()=0;
|
---|
18 |
|
---|
19 | virtual void SetReady();
|
---|
20 | virtual void SetBusy();
|
---|
21 | virtual void SetBlocked();
|
---|
22 | virtual int GetState();
|
---|
23 |
|
---|
24 |
|
---|
25 | virtual PIContainer* MainWin() {return topcont;}
|
---|
26 | virtual PIMenubar* Menubar() {return menubar;}
|
---|
27 |
|
---|
28 | virtual void AppendMenu(PIPDMenu *pdm);
|
---|
29 |
|
---|
30 | virtual int PrefXSize() = 0;
|
---|
31 | virtual int PrefYSize() = 0;
|
---|
32 |
|
---|
33 | protected:
|
---|
34 | PIContainer *topcont;
|
---|
35 | PIMenubar *menubar;
|
---|
36 | int mState;
|
---|
37 | };
|
---|
38 |
|
---|
39 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.