]>
Commit | Line | Data |
---|---|---|
ffecfa5a JS |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/palmos/apptbase.h | |
3 | // Purpose: declaration of wxAppTraits for Palm OS | |
e1d63b79 | 4 | // Author: William Osborne - minimal working wxPalmOS port |
ffecfa5a JS |
5 | // Modified by: |
6 | // Created: 10/13/04 | |
e1d63b79 | 7 | // RCS-ID: $Id$ |
ffecfa5a JS |
8 | // Copyright: (c) William Osborne |
9 | // Licence: wxWindows licence | |
10 | /////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_PALMOS_APPTBASE_H_ | |
13 | #define _WX_PALMOS_APPTBASE_H_ | |
14 | ||
15 | // ---------------------------------------------------------------------------- | |
5445a26c | 16 | // wxAppTraits |
ffecfa5a JS |
17 | // ---------------------------------------------------------------------------- |
18 | ||
19 | class WXDLLIMPEXP_BASE wxAppTraits : public wxAppTraitsBase | |
20 | { | |
21 | public: | |
22 | // wxExecute() support methods | |
23 | // --------------------------- | |
24 | ||
25 | // called before starting to wait for the child termination, may return | |
26 | // some opaque data which will be passed later to AfterChildWaitLoop() | |
27 | virtual void *BeforeChildWaitLoop() = 0; | |
28 | ||
ffecfa5a JS |
29 | // called after starting to wait for the child termination, the parameter |
30 | // is the return value of BeforeChildWaitLoop() | |
31 | virtual void AfterChildWaitLoop(void *data) = 0; | |
32 | ||
33 | ||
34 | // wxThread helpers | |
35 | // ---------------- | |
36 | ||
37 | // process a message while waiting for a(nother) thread, should return | |
38 | // false if and only if we have to exit the application | |
39 | virtual bool DoMessageFromThreadWait() = 0; | |
ffecfa5a JS |
40 | }; |
41 | ||
42 | #endif // _WX_PALMOS_APPTBASE_H_ | |
43 |