MyGUI  3.2.1
MyGUI_Timer.h
Go to the documentation of this file.
1 /*
2  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3  * Distributed under the MIT License
4  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5  */
6 
7 #ifndef __MYGUI_TIMER_H__
8 #define __MYGUI_TIMER_H__
9 
10 #include "MyGUI_Prerequest.h"
11 
12 namespace MyGUI
13 {
14 
16  {
17  public:
18  Timer();
19 
20  void reset();
21  unsigned long getMilliseconds();
22 
23  private:
24  unsigned long getCurrentMilliseconds();
25 
26  private:
27  unsigned long mTimeStart;
28  };
29 
30 } // namespace MyGUI
31 
32 #endif // __MYGUI_TIMER_H__