]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/palmos/apptrait.h
indentation cleanup, unused variables, constant expressions, etc
[wxWidgets.git] / include / wx / palmos / apptrait.h
... / ...
CommitLineData
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/palmos/apptrait.h
3// Purpose: class implementing wxAppTraits for Palm OS
4// Author: William Osborne - minimal working wxPalmOS port
5// Modified by:
6// Created: 10/13/04
7// RCS-ID: $Id$
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_PALM_APPTRAIT_H_
13#define _WX_PALM_APPTRAIT_H_
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#if wxUSE_TIMER
26 virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer) { return NULL; };
27#endif
28 virtual bool DoMessageFromThreadWait();
29};
30
31#if wxUSE_GUI
32
33class WXDLLIMPEXP_CORE wxGUIAppTraits : public wxGUIAppTraitsBase
34{
35public:
36 virtual void *BeforeChildWaitLoop();
37 virtual void AlwaysYield();
38 virtual void AfterChildWaitLoop(void *data);
39#if wxUSE_TIMER
40 // there is no wxTimer support yet
41 virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer);
42#endif
43 virtual bool DoMessageFromThreadWait();
44 virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const;
45};
46
47#endif // wxUSE_GUI
48
49#endif // _WX_PALM_APPTRAIT_H_
50