]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/apptrait.h
define wxFooHandler() macros for all wxFooEvents to make it possible to use Connect...
[wxWidgets.git] / include / wx / palmos / apptrait.h
CommitLineData
ffecfa5a
JS
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/palmos/apptrait.h
3// Purpose: class implementing 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
5445a26c
WS
12#ifndef _WX_PALM_APPTRAIT_H_
13#define _WX_PALM_APPTRAIT_H_
ffecfa5a
JS
14
15// ----------------------------------------------------------------------------
16// wxGUI/ConsoleAppTraits: must derive from wxAppTraits, not wxAppTraitsBase
17// ----------------------------------------------------------------------------
18
19class WXDLLIMPEXP_BASE wxConsoleAppTraits : public wxConsoleAppTraitsBase
20{
21public:
22 virtual void *BeforeChildWaitLoop();
23 virtual void AlwaysYield();
24 virtual void AfterChildWaitLoop(void *data);
25
26 virtual bool DoMessageFromThreadWait();
27};
28
29#if wxUSE_GUI
30
31class WXDLLIMPEXP_CORE wxGUIAppTraits : public wxGUIAppTraitsBase
32{
33public:
34 virtual void *BeforeChildWaitLoop();
35 virtual void AlwaysYield();
36 virtual void AfterChildWaitLoop(void *data);
37
38 virtual bool DoMessageFromThreadWait();
39 virtual wxToolkitInfo& GetToolkitInfo();
40};
41
42#endif // wxUSE_GUI
43
5445a26c 44#endif // _WX_PALM_APPTRAIT_H_
ffecfa5a 45