WindowsSyncClient Class Reference
[Client DLL]

Derivate from SyncClient, implements only continueAfterPrepareSync method. More...

#include <WindowsSyncClient.h>

Inheritance diagram for WindowsSyncClient:
[legend]
Collaboration diagram for WindowsSyncClient:
[legend]

List of all members.

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.


Detailed Description

Derivate from SyncClient, implements only continueAfterPrepareSync method.

Constructor & Destructor Documentation

WindowsSyncClient::WindowsSyncClient ( SyncSource **  sources  ) 

Constructor.

Set the pointer of (externally owned) SyncSources array.

References syncSources.


Member Function Documentation

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.

Returns:
0 if synchronization is to continue, 5 if user aborted the synchronization (error code 5 = Sync aborted by the user to avoid full-sync)

Reimplemented from SyncClient.

References ClientApplication::getInstance(), SyncSource::getSyncMode(), isFullSyncMode(), ClientApplication::setOutgoingTimezone(), syncSources, and TimedMessageBox().


Member Data Documentation

Pointer to the NULL terminated vector of active SyncSources.

It's externally owned, must NOT be freed.

Referenced by continueAfterPrepareSync(), and WindowsSyncClient().


The documentation for this class was generated from the following files:

Generated on Tue Apr 6 13:00:43 2010 for Funambol Outlook Plug-in Library by  doxygen 1.5.7.1