C# Class Tasque.Application

Show file Open project: GNOME/tasque Class Usage Examples

Public Methods

Method Description
Application ( INativeApplication nativeApp ) : Notifications
Exit ( int exitCode ) : void
Init ( string args ) : void
Quit ( ) : void
ShowAppNotification ( Notification notification ) : void
ShowPreferences ( ) : void
StartMainLoop ( ) : void

Private Methods

Method Description
CheckForDaySwitch ( ) : bool
GetBackendsFromAssembly ( Assembly asm ) : List
InitializeIdle ( ) : bool
LoadAvailableBackends ( ) : void

Load all the available backends that Tasque can find. First look in Tasque.exe and then for other DLLs in the same directory Tasque.ex resides.

OnBackendChanged ( ) : void
OnPreferencesDialogHidden ( object sender, EventArgs args ) : void
OnTooltipModelChanged ( object o, EventArgs args ) : void
RebuildTooltipTaskGroupModels ( ) : void
RetryBackend ( ) : bool
SetBackend ( IBackend value ) : void
UnhookFromTooltipTaskGroupModels ( ) : void

Method Details

Application() public method

public Application ( INativeApplication nativeApp ) : Notifications
nativeApp INativeApplication
return Notifications

Exit() public method

public Exit ( int exitCode ) : void
exitCode int
return void

Init() public method

public Init ( string args ) : void
args string
return void

Quit() public method

public Quit ( ) : void
return void

ShowAppNotification() public static method

public static ShowAppNotification ( Notification notification ) : void
notification Notifications.Notification
return void

ShowPreferences() public static method

public static ShowPreferences ( ) : void
return void

StartMainLoop() public method

public StartMainLoop ( ) : void
return void