Release 1.54

master
Kasi 2020-08-24 00:18:45 +01:00
parent 3aa44dff6f
commit 2b0ce4f741
2 changed files with 13 additions and 0 deletions

View File

@ -13,6 +13,19 @@ namespace BreakHandler
bool ShortBreak(bool Logout = true); bool ShortBreak(bool Logout = true);
bool LongBreak(bool Logout = true); bool LongBreak(bool Logout = true);
bool Break(bool LogoutOnLong = true, bool LogoutOnShort = true, bool LogoutOnMini = false); bool Break(bool LogoutOnLong = true, bool LogoutOnShort = true, bool LogoutOnMini = false);
struct BreakTime
{
std::int64_t TimeOfLastBreak = 0;
std::int64_t BreakEvery;
std::int64_t BreakFor;
};
BreakTime GetMiniBreakTime();
BreakTime GetShortBreakTime();
BreakTime GetLongBreakTime();
} }
#endif // BREAKHANDLER_HPP_INCLUDED #endif // BREAKHANDLER_HPP_INCLUDED

Binary file not shown.