OSDN Git Service

7e5e9a986f792a3b24d76dbf14472ec4cf0645bb
[moflib/moflib.git] / moflib-1.0 / moflib / moflib / mof / Timer.hpp
1 #ifndef TIMER_HPP
2 #define TIMER_HPP
3
4 #pragma comment(lib , "winmm.lib")
5
6 namespace mof{
7
8
9 class Timer{
10         int m_startTime;
11         static bool initialized;
12 public:
13         Timer();
14
15         void reset();
16         int getTime() const;
17         static unsigned long getSystemTime();
18
19 };
20
21 }
22
23 #endif