WindowsSyncSourceConfig Class Reference
[Client DLL]

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

#include <WindowsSyncSourceConfig.h>

Collaboration diagram for WindowsSyncSourceConfig:
[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
unsigned long getLast () const
const char * getEncryption () const
const bool isEnabled () 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 setLast (unsigned long v)
void setEncryption (const char *v)
void setIsEnabled (const bool v)
bool getIsSynced () const
void setIsSynced (bool v)
 _declspec (dllexport) DateFilter &getDateFilter()
 Returns a reference to DateFilter (internally owned).

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'.
DateFilter dateFilter
 The filter on events startDate and endDate.


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

References initialize(), and s.

WindowsSyncSourceConfig::WindowsSyncSourceConfig ( const WindowsSyncSourceConfig wsc  ) 

Copy constructor.

Copy Constructor.

References getIsSynced(), initialize(), and s.


Member Function Documentation

SyncSourceConfig * WindowsSyncSourceConfig::getCommonConfig (  ) 

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

References s.

void WindowsSyncSourceConfig::initialize (  )  [private]

Initialize all members.

Initialize members.

References endTimestamp, folderPath, isSynced, s, and useSubfolders.

Referenced by operator=(), and WindowsSyncSourceConfig().


Member Data Documentation

The filter on events startDate and endDate.

It's filled by OutlookConfig when reading configuration. Can be retrieved with getDateFilter() method.

Referenced by _declspec().

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

Referenced by getCommonConfig(), initialize(), operator=(), setCommonConfig(), and WindowsSyncSourceConfig().

true if the correspondent Outlook folder will be synced with all subfolders included.

Referenced by initialize().


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