C# 클래스 Tomboy.Sync.EvernoteSyncServiceAddin

상속: Tomboy.Sync.SyncServiceAddin
파일 보기 프로젝트 열기: dvj/EvernoteSyncAddin 1 사용 예제들

공개 메소드들

메소드 설명
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