D:/develop/v65/clients/outlook/install/output/export/funambol/clients/outlook/UI/src/ContactSettings.h

00001  /*
00002  * Copyright (C) 2007 Funambol, Inc.
00003  *
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License version 2 as
00006  * published by the Free Software Foundation.
00007  *
00008  * This program is distributed in the hope that it will be useful,
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  * MERCHANTABILITY, TITLE, NONINFRINGEMENT or FITNESS FOR A PARTICULAR
00011  * PURPOSE.  See the GNU General Public License for more details.
00012  *
00013  * You should have received a copy of the GNU General Public License
00014  * along with this program; if not, write to the Free Software
00015  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00016  * 02111-1307  USA
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);    // DDX/DDV support
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 

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