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