Method | Description | |
---|---|---|
CreateDatabaseTablesIfNotExist ( ) : void | ||
Daemon ( ) : System | ||
GetVisualizationsDay ( DateTimeOffset date ) : List |
||
GetVisualizationsWeek ( DateTimeOffset date ) : List |
||
IsEnabled ( ) : bool | ||
Start ( ) : void | ||
Stop ( ) : void | ||
UpdateDatabaseTables ( int version ) : void | ||
WinEventProc ( |
Catch Window Switch Events
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
CheckIfIdleTime ( object sender, System.Timers.ElapsedEventArgs e ) : void |
check every 10 seconds if the user has been idle for the past 120s
|
|
GetActiveWindowTitle ( |
Get the name of the currently active window
|
|
GetProcessName ( |
Get the name of the current process
|
|
StoreIdle ( ) : void | ||
StoreProcess ( ) : void |
public CreateDatabaseTablesIfNotExist ( ) : void | ||
return | void |
public GetVisualizationsDay ( DateTimeOffset date ) : List |
||
date | DateTimeOffset | |
return | List |
public GetVisualizationsWeek ( DateTimeOffset date ) : List |
||
date | DateTimeOffset | |
return | List |
public UpdateDatabaseTables ( int version ) : void | ||
version | int | |
return | void |
public WinEventProc ( |
||
hWinEventHook | ||
eventType | uint | |
hwnd | ||
idObject | int | |
idChild | int | |
dwEventThread | uint | |
dwmsEventTime | uint | |
return | void |