00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00023 #pragma once
00024 #include "afxwin.h"
00025
00026 #define SIF_CHECKED 0
00027 #define VCARD_CHECKED 1
00028
00029
00033 class CContactSettings : public CDialog
00034 {
00035 DECLARE_DYNCREATE(CContactSettings)
00036
00037 public:
00038 CContactSettings();
00039 virtual ~CContactSettings();
00040
00041 enum { IDD = IDD_CONTACTS };
00042 #ifdef _DEBUG
00043 virtual void AssertValid() const;
00044 #ifndef _WIN32_WCE
00045 virtual void Dump(CDumpContext& dc) const;
00046 #endif
00047 #endif
00048
00049 private:
00050 int currentRadioChecked;
00051
00052 protected:
00053 virtual void DoDataExchange(CDataExchange* pDX);
00054 virtual BOOL OnInitDialog();
00055
00056
00057 DECLARE_MESSAGE_MAP()
00058 public:
00059 CComboBox lstSyncType;
00060 CEdit editFolder;
00061 CButton checkInclude;
00062 CButton butSelectFolder;
00063 CEdit editRemote;
00064 CButton radioSif;
00065 CButton radioVcard;
00066 CStatic groupDirection;
00067 CStatic groupFolder;
00068 CStatic groupAdvanced;
00069
00070 bool saveSettings(bool saveToDisk);
00071
00072 afx_msg void OnBnClickedContactsButok();
00073 afx_msg void OnBnClickedContactsButcancel();
00074 afx_msg void OnBnClickedContactsButFolder();
00075 afx_msg void OnBnClickedContactsRadioSif();
00076 afx_msg void OnBnClickedContactsRadioVcard();
00077 };
00078