CPicturesSettings Class Reference
[User Interface]

Pictures options window. More...

#include <PicturesSettings.h>

Collaboration diagram for CPicturesSettings:
[legend]

List of all members.

Public Types

enum  { IDD = IDD_PICTURES }

Public Member Functions

bool saveSettings (bool)
afx_msg void OnBnClickedPicturesOk ()
afx_msg void OnBnClickedPicturesCancel ()
afx_msg void OnBnClickedPicturesButSelect ()

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()

Protected Attributes

CEdit editSyncType
CEdit editFolder
CButton checkInclude
CButton butSelectFolder
CEdit editRemote
CStatic groupDirection
CStatic groupFolder
CStatic groupAdvanced

Private Member Functions

bool browseFolder (std::wstring &folderpath, const WCHAR *defaultFolder=NULL, const WCHAR *szCaption=NULL, const HWND hOwner=NULL)
 Opens the default Windows dialog to select a folder in the file system.
void loadSyncModesBox (const char *sourceName)
 Loads the string data into the syncmode editbox/dropdown box.

Private Attributes

WindowsSyncSourceConfigssconf
 The SyncSource configuration for pictures.


Detailed Description

Pictures options window.

Member Function Documentation

bool CPicturesSettings::browseFolder ( std::wstring &  folderpath,
const WCHAR *  defaultFolder = NULL,
const WCHAR *  szCaption = NULL,
const HWND  hOwner = NULL 
) [private]

Opens the default Windows dialog to select a folder in the file system.

Parameters:
folderpath [IN-OUT] the user selected folder path, untouched if the user cancelled
defaultFolder [OPTIONAL] the default folder to start browsing
szCaption [OPTIONAL] the caption of the dialog to display
hOwner [OPTIONAL] handle to the parent window. Set it in order to make the dialog modal
Returns:
true if successful, false if cancelled or an error occurs

void CPicturesSettings::loadSyncModesBox ( const char *  sourceName  )  [private]

Loads the string data into the syncmode editbox/dropdown box.

If only 1 syncmode is available, the editbox is used. Otherwise the dropdown box is used.

References WindowsSyncSourceConfig::getSyncModes(), OutlookConfig::getSyncSourceConfig(), and ssconf.


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

Generated on Tue Dec 21 15:16:20 2010 for Funambol Outlook Plug-in Library by  doxygen 1.5.7.1