WindowsSyncSourceConfig Class Reference
[Client DLL]

This class groups all configuration properties for a WindowsSyncSource. More...

#include <WindowsSyncSourceConfig.h>

Collaboration diagram for WindowsSyncSourceConfig:

Collaboration graph
[legend]
List of all members.

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.
WindowsSyncSourceConfigoperator= (const WindowsSyncSourceConfig &wsc)
 Operator =.
void setCommonConfig (SyncSourceConfig *sc)
 Assign the internal SyncSourceConfig* pointer.
SyncSourceConfiggetCommonConfig ()
 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.
SyncSourceConfigs
 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'.

Detailed Description

This class groups all configuration properties for a WindowsSyncSource.

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)


Constructor & Destructor Documentation

WindowsSyncSourceConfig::WindowsSyncSourceConfig ( SyncSourceConfig sc  ) 

Constructs a new WindowsSyncSourceConfig object.

Initialize members and link the SyncSourceConfig pointer passed (mandatory not NULL).


Member Function Documentation

SyncSourceConfig * WindowsSyncSourceConfig::getCommonConfig (  ) 

Return the pointer to external SyncSourceConfig object used for common properties.


Member Data Documentation

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'.


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 12:21:36 2007 for Funambol Outlook Plug-in Library by  doxygen 1.5.2