C# Class Tomboy.Sync.EvernoteSyncServiceAddin

Inheritance: Tomboy.Sync.SyncServiceAddin
Datei anzeigen Open project: dvj/EvernoteSyncAddin Class Usage Examples

Public Methods

Method Description
CreatePreferencesControl ( ) : Gtk.Widget

Creates a Gtk.Widget that's used to configure the service. This will be used in the Synchronization Preferences. Preferences should not automatically be saved by a GConf Property Editor. Preferences should be saved when SaveConfiguration () is called.

CreateSyncServer ( ) : SyncServer

Creates a SyncServer instance that the SyncManager can use to synchronize with this service. This method is called during every synchronization process. If the same SyncServer object is returned here, it should be reset as if it were new.

GetConfigSettings ( string &username, string &password ) : bool

Get config settings

Initialize ( ) : void

Called as soon as Tomboy needs to do anything with the service

PostSyncCleanup ( ) : void
ResetConfiguration ( ) : void

Reset the configuration so that IsConfigured will return false.

SaveConfiguration ( ) : bool

The Addin should verify and check the connection to the service when this is called. If verification and connection is successful, the addin should save the configuration and return true.

Shutdown ( ) : void

Method Details

CreatePreferencesControl() public method

Creates a Gtk.Widget that's used to configure the service. This will be used in the Synchronization Preferences. Preferences should not automatically be saved by a GConf Property Editor. Preferences should be saved when SaveConfiguration () is called.
public CreatePreferencesControl ( ) : Gtk.Widget
return Gtk.Widget

CreateSyncServer() public method

Creates a SyncServer instance that the SyncManager can use to synchronize with this service. This method is called during every synchronization process. If the same SyncServer object is returned here, it should be reset as if it were new.
public CreateSyncServer ( ) : SyncServer
return SyncServer

GetConfigSettings() public static method

Get config settings
public static GetConfigSettings ( string &username, string &password ) : bool
username string
password string
return bool

Initialize() public method

Called as soon as Tomboy needs to do anything with the service
public Initialize ( ) : void
return void

PostSyncCleanup() public method

public PostSyncCleanup ( ) : void
return void

ResetConfiguration() public method

Reset the configuration so that IsConfigured will return false.
public ResetConfiguration ( ) : void
return void

SaveConfiguration() public method

The Addin should verify and check the connection to the service when this is called. If verification and connection is successful, the addin should save the configuration and return true.
public SaveConfiguration ( ) : bool
return bool

Shutdown() public method

public Shutdown ( ) : void
return void