C# Class Tomboy.Sync.EvernoteSyncServiceAddin

Inheritance: Tomboy.Sync.SyncServiceAddin
Afficher le fichier Open project: dvj/EvernoteSyncAddin Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat Gtk.Widget

CreateSyncServer() public méthode

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
Résultat SyncServer

GetConfigSettings() public static méthode

Get config settings
public static GetConfigSettings ( string &username, string &password ) : bool
username string
password string
Résultat bool

Initialize() public méthode

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

PostSyncCleanup() public méthode

public PostSyncCleanup ( ) : void
Résultat void

ResetConfiguration() public méthode

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

SaveConfiguration() public méthode

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
Résultat bool

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void