Release 1.54
							parent
							
								
									3aa44dff6f
								
							
						
					
					
						commit
						2b0ce4f741
					
				| 
						 | 
				
			
			@ -13,6 +13,19 @@ namespace BreakHandler
 | 
			
		|||
    bool ShortBreak(bool Logout = true);
 | 
			
		||||
    bool LongBreak(bool Logout = true);
 | 
			
		||||
    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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							
		Loading…
	
		Reference in New Issue