Configuration
[Client DLL]

Collaboration diagram for Configuration:


Classes

struct  TimeZone
 Timezone informations. More...
class  OutlookConfig
 Represents the configuration of Outlook client. More...

Defines

#define PROPERTY_USE_SUBFOLDERS   "useSubfolders"
 Client specific properties (see spdm/costants.h for common props).
#define PROPERTY_FOLDER_PATH   "folderPath"
#define PROPERTY_SCHEDULED_SYNC   "isScheduled"
#define PROPERTY_SP   "portal"
 This is stored in HKLM during install.
#define PROPERTY_INSTALLDIR   "installDir"
#define APPLICATION_URI   "Funambol/OutlookClient"
 Path in DMTree.
#define PORTAL_DEFAULT_SYNCURL   "http://my.funambol.com/sync"
 Default portal settings.
#define PORTAL_DEFAULT_USERNAME   ""
#define PORTAL_DEFAULT_PASSWORD   ""
#define TIMEZONE_CONTEXT   L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones"

Typedefs

typedef TimeZone TimeZoneInformation
 Timezone informations.

Functions

 __declspec (dllexport) OutlookConfig *getConfig()
 Returns a pointer to the OutlookConfig object (singleton).
void createDefaultConfig ()
std::wstring pickOutlookFolder (const std::wstring &itemType)
 This function displays an Outlook window on desktop, to browse for a specific Outlook folder.
std::wstring getDefaultFolderPath (const std::wstring &itemType)
 Returns the full Outlook path of the default folder, given the desired 'itemType'.

Typedef Documentation

typedef struct TimeZone TimeZoneInformation

Timezone informations.

This is a more complete structure than 'TIME_ZONE_INFORMATION' because we need a unique key value to recognize the timezones ('keyName').


Function Documentation

__declspec ( dllexport   ) 

Returns a pointer to the OutlookConfig object (singleton).

It's used to access the whole configuration object from UI, to get/set plugin properties. If configuration never instantiated, we need to initialize client first. (config could not exist, log must be opened)

std::wstring getDefaultFolderPath ( const wstring &  itemType  ) 

Returns the full Outlook path of the default folder, given the desired 'itemType'.

Note:
to correctly manage COM library, we delete the ClientApplication instance at the end of this method (it's called from UI config window, Details).
Parameters:
itemType the type of items for the folder to select (CONTACT/TASK/...)
Returns:
path of default folder (empty string if errors).

std::wstring pickOutlookFolder ( const wstring &  itemType  ) 

This function displays an Outlook window on desktop, to browse for a specific Outlook folder.

If passed 'itemType' is not an empty string, the user will have to select a folder of the correct type - otherwise a warning+retry will be displayed. The full path of folder will be returned.

Note:
to correctly manage COM library, we delete the ClientApplication instance at the end of this method (it's called from UI config window, Details).
Parameters:
itemType the type of items for the folder to select (CONTACT/TASK/...)
Returns:
path of folder selected (empty string if not selected).


Generated on Fri Nov 9 12:21:28 2007 for Funambol Outlook Plug-in Library by  doxygen 1.5.2