#include <WindowsSyncClient.h>
Public Member Functions | |
WindowsSyncClient (SyncSource **sources) | |
Constructor. | |
int | continueAfterPrepareSync () |
Checks if the server requested a full-sync for at least one SyncSource. | |
Protected Attributes | |
SyncSource ** | syncSources |
Pointer to the NULL terminated vector of active SyncSources. |
WindowsSyncClient::WindowsSyncClient | ( | SyncSource ** | sources | ) |
int WindowsSyncClient::continueAfterPrepareSync | ( | ) | [virtual] |
Checks if the server requested a full-sync for at least one SyncSource.
This method is called just after 'prepareSync()'. If a full-sync has been requested by server, a timed message-box will be prompted to warn the user. If user avoid starting the full sync, en error code (5) will be returned. In case of no user-interaction, after a time out (10sec) the full-sync will normally continue.
Reimplemented from SyncClient.
References ClientApplication::getInstance(), SyncSource::getSyncMode(), isFullSyncMode(), ClientApplication::setOutgoingTimezone(), syncSources, and TimedMessageBox().
SyncSource** WindowsSyncClient::syncSources [protected] |
Pointer to the NULL terminated vector of active SyncSources.
It's externally owned, must NOT be freed.
Referenced by continueAfterPrepareSync(), and WindowsSyncClient().