MyGUI_Timer.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_TIMER_H_
#define MYGUI_TIMER_H_
#include "MyGUI_Prerequest.h"
namespace MyGUI
{
class MYGUI_EXPORT Timer
{
public:
void reset();
unsigned long getMilliseconds() const;
private:
unsigned long getCurrentMilliseconds() const;
private:
unsigned long mTimeStart{0};
};
} // namespace MyGUI
#endif // MYGUI_TIMER_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MyGUI::Timer
Definition MyGUI_Timer.h:16
MyGUI::Timer::reset
void reset()
Definition MyGUI_Timer.cpp:20
MyGUI::Timer::getMilliseconds
unsigned long getMilliseconds() const
Definition MyGUI_Timer.cpp:25
MyGUI
Definition MyGUI_ActionController.h:15