]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/private/timer.h
Added experimental async clipboard format query
[wxWidgets.git] / include / wx / palmos / private / timer.h
CommitLineData
2bda0e17 1/////////////////////////////////////////////////////////////////////////////
c2ca375c 2// Name: wx/palmos/private/timer.h
2bda0e17 3// Purpose: wxTimer class
c2ca375c 4// Author: William Osborne - minimal working wxPalmOS port
2bda0e17 5// Modified by:
c2ca375c 6// Created: 10/13/04
2bda0e17 7// RCS-ID: $Id$
c2ca375c 8// Copyright: (c) William Osborne
65571936 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_TIMER_H_
13#define _WX_TIMER_H_
2bda0e17 14
6afc1b46 15#include "wx/private/timer.h"
c2ca375c 16
53a2db12 17class WXDLLIMPEXP_CORE wxPalmOSTimerImpl : public wxTimerImpl
2bda0e17 18{
c085e333
VZ
19friend void wxProcessTimer(wxTimer& timer);
20
03f38c58 21public:
c2ca375c
VZ
22 wxPalmOSTimerImpl(wxTimer* timer) : wxTimerImpl(timer) { Init(); }
23 virtual ~wxPalmOSTimerImpl();
03f38c58 24
c2ca375c 25 virtual bool Start(int milliseconds = -1, bool oneShot = FALSE);
0470b1e6 26 virtual void Stop();
03f38c58 27
0470b1e6 28 virtual bool IsRunning() const { return m_id != 0; }
03f38c58 29
c085e333 30protected:
ed791986
VZ
31 void Init();
32
97f278b4 33 unsigned long m_id;
2bda0e17
KB
34};
35
2bda0e17 36#endif
bbcdf8bc 37 // _WX_TIMERH_