2017-12-25 23:49:48 +00:00
|
|
|
#ifndef BREAKHANDLER_HPP_INCLUDED
|
|
|
|
#define BREAKHANDLER_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include "../../Core/Types/Timer.hpp"
|
|
|
|
#include "../../Core/Types/Counter.hpp"
|
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
namespace BreakHandler
|
2017-12-25 23:49:48 +00:00
|
|
|
{
|
2018-12-27 18:17:09 +00:00
|
|
|
Counter GetBreakCounter();
|
|
|
|
Timer GetBreakTimer();
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
bool MiniBreak(bool Logout = true);
|
|
|
|
bool ShortBreak(bool Logout = true);
|
|
|
|
bool LongBreak(bool Logout = true);
|
|
|
|
bool Break(bool LogoutOnLong = true, bool LogoutOnShort = true, bool LogoutOnMini = false);
|
2018-12-31 21:52:58 +00:00
|
|
|
}
|
2017-12-25 23:49:48 +00:00
|
|
|
|
|
|
|
#endif // BREAKHANDLER_HPP_INCLUDED
|