#include <WindowsSyncSourceConfig.h>
Collaboration diagram for WindowsSyncSourceConfig:
Public Member Functions | |
WindowsSyncSourceConfig () | |
Default constructor - please note that 's' pointer MUST be set!! | |
WindowsSyncSourceConfig (SyncSourceConfig *sc) | |
Constructs a new WindowsSyncSourceConfig object. | |
WindowsSyncSourceConfig (const WindowsSyncSourceConfig &wsc) | |
Copy constructor. | |
~WindowsSyncSourceConfig () | |
Destructor. | |
WindowsSyncSourceConfig & | operator= (const WindowsSyncSourceConfig &wsc) |
Operator =. | |
void | setCommonConfig (SyncSourceConfig *sc) |
Assign the internal SyncSourceConfig* pointer. | |
SyncSourceConfig * | getCommonConfig () |
Return the pointer to external SyncSourceConfig object used for common properties. | |
_declspec (dllexport) const char *getFolderPath() const | |
_declspec (dllexport) bool getUseSubfolders() const | |
_declspec (dllexport) long getEndTimestamp() const | |
_declspec (dllexport) void setFolderPath(const char *v) | |
_declspec (dllexport) void setUseSubfolders(bool v) | |
_declspec (dllexport) void setEndTimestamp(long v) | |
const char * | getName () const |
const char * | getURI () const |
const char * | getSyncModes () const |
const char * | getType () const |
const char * | getSync () const |
const char * | getEncoding () const |
const char * | getVersion () const |
const char * | getSupportedTypes () const |
CTCap | getCtCap () const |
unsigned long | getLast () const |
const char * | getEncryption () const |
void | setName (const char *v) |
void | setURI (const char *v) |
void | setSyncModes (const char *v) |
void | setType (const char *v) |
void | setSync (const char *v) |
void | setEncoding (const char *v) |
void | setVersion (const char *v) |
void | setSupportedTypes (const char *v) |
void | setCtCap (CTCap v) |
void | setLast (unsigned long v) |
void | setEncryption (const char *v) |
bool | getIsSynced () const |
void | setIsSynced (bool v) |
Private Member Functions | |
void | initialize () |
Initialize all members. | |
Private Attributes | |
char * | folderPath |
The full path of correspondent Outlook folder. | |
bool | useSubfolders |
true if the correspondent Outlook folder will be synced with all subfolders included. | |
bool | isSynced |
'true' if the source has been synced (TODO: use the SOURCE_STATE). | |
long | endTimestamp |
Timestamp of the last finished sync. | |
SyncSourceConfig * | s |
Pointer to (external) original SyncSourceConfig object, to retrieve all common properties: we MUST get/set common properties from a unique place, so get/set methods for common properties are overrided and linked to methods of original SyncSourceConfig 's'. |
WindowsSyncSourceConfig has an external link to SyncSourceConfig ('s'), where all common properties are stored. Client-specific properties of WindowsSyncSource are members of this class. (see spds/SyncSourceConfig.h for common members)
WindowsSyncSourceConfig::WindowsSyncSourceConfig | ( | SyncSourceConfig * | sc | ) |
Constructs a new WindowsSyncSourceConfig object.
Initialize members and link the SyncSourceConfig pointer passed (mandatory not NULL).
SyncSourceConfig * WindowsSyncSourceConfig::getCommonConfig | ( | ) |
Return the pointer to external SyncSourceConfig object used for common properties.
bool WindowsSyncSourceConfig::useSubfolders [private] |
true if the correspondent Outlook folder will be synced with all subfolders included.
SyncSourceConfig* WindowsSyncSourceConfig::s [private] |
Pointer to (external) original SyncSourceConfig object, to retrieve all common properties: we MUST get/set common properties from a unique place, so get/set methods for common properties are overrided and linked to methods of original SyncSourceConfig 's'.