C# Класс Tomboy.Sync.EvernoteSyncServiceAddin

Наследование: Tomboy.Sync.SyncServiceAddin
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

CreatePreferencesControl() публичный Метод

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
Результат Gtk.Widget

CreateSyncServer() публичный Метод

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
Результат SyncServer

GetConfigSettings() публичный статический Метод

Get config settings
public static GetConfigSettings ( string &username, string &password ) : bool
username string
password string
Результат bool

Initialize() публичный Метод

Called as soon as Tomboy needs to do anything with the service
public Initialize ( ) : void
Результат void

PostSyncCleanup() публичный Метод

public PostSyncCleanup ( ) : void
Результат void

ResetConfiguration() публичный Метод

Reset the configuration so that IsConfigured will return false.
public ResetConfiguration ( ) : void
Результат void

SaveConfiguration() публичный Метод

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
Результат bool

Shutdown() публичный Метод

public Shutdown ( ) : void
Результат void