projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor cleanup
[wxWidgets.git]
/
include
/
wx
/
os2
/
private
/
timer.h
diff --git
a/include/wx/os2/private/timer.h
b/include/wx/os2/private/timer.h
index fc231d26c38f16f79a76915af8f88cf6448005e2..a9480609034d8f3f0ddaa39e4c6c0093b2880caf 100644
(file)
--- a/
include/wx/os2/private/timer.h
+++ b/
include/wx/os2/private/timer.h
@@
-9,31
+9,24
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef _WX_TIMER_H_
-#define _WX_TIMER_H_
+#ifndef _WX_
OS2_PRIVATE_
TIMER_H_
+#define _WX_
OS2_PRIVATE_
TIMER_H_
-#include "wx/private/timer
impl
.h"
+#include "wx/private/timer.h"
-class WXDLL
EXPORT
wxOS2TimerImpl: public wxTimerImpl
+class WXDLL
IMPEXP_CORE
wxOS2TimerImpl: public wxTimerImpl
{
friend void wxProcessTimer(wxOS2TimerImpl& timer);
public:
{
friend void wxProcessTimer(wxOS2TimerImpl& timer);
public:
- wxOS2TimerImpl(wxTimer *timer) : wxTimerImpl(timer) { Init(); }
- virtual ~wxOS2TimerImpl();
+ wxOS2TimerImpl(wxTimer *timer) : wxTimerImpl(timer) { m_ulId = 0; }
- virtual void Notify(void);
- virtual bool Start( int nMilliseconds = -1
- ,bool bOneShot = FALSE
- );
+ virtual bool Start(int nMilliseconds = -1, bool bOneShot = FALSE);
virtual void Stop(void);
virtual void Stop(void);
- inline virtual bool IsRunning(void) const { return m_ulId != 0L; }
- inline int GetTimerId(void) const { return m_idTimer; }
+ virtual bool IsRunning(void) const { return m_ulId != 0L; }
protected:
protected:
- void Init(void);
-
ULONG m_ulId;
HAB m_Hab;
};
ULONG m_ulId;
HAB m_Hab;
};
@@
-43,5
+36,4
@@
extern ULONG wxTimerProc( HWND WXUNUSED(hwnd)
,int nIdTimer
,ULONG
);
,int nIdTimer
,ULONG
);
-#endif
- // _WX_TIMER_H_
+#endif // _WX_OS2_PRIVATE_TIMER_H_