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"
|
|
|
|
|
|
|
|
class BreakHandler
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static Counter GetBreakCounter();
|
|
|
|
static Timer GetBreakTimer();
|
|
|
|
|
2018-08-30 03:04:03 +00:00
|
|
|
static bool MiniBreak(bool Logout = true);
|
2017-12-25 23:49:48 +00:00
|
|
|
static bool ShortBreak(bool Logout = true);
|
|
|
|
static bool LongBreak(bool Logout = true);
|
2018-08-30 03:04:03 +00:00
|
|
|
static bool Break(bool LogoutOnLong = true, bool LogoutOnShort = true, bool LogoutOnMini = false);
|
2017-12-25 23:49:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // BREAKHANDLER_HPP_INCLUDED
|