OW2 Consortium

(file) Return to SyncForm.h CVS log (file) (dir) Up to [OW2-CVS] / sync4j / funambol / clients / outlook / UI / src

  1 toccy 1.1 /*
  2           * Copyright (C) 2003-2006 Funambol
  3           *
  4           * This program is free software; you can redistribute it and/or modify
  5           * it under the terms of the GNU General Public License as published by
  6           * the Free Software Foundation; either version 2 of the License, or
  7           * (at your option) any later version.
  8           *
  9           * This program is distributed in the hope that it will be useful,
 10           * but WITHOUT ANY WARRANTY; without even the implied warranty of
 11           * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 12           * GNU General Public License for more details.
 13           *
 14           * You should have received a copy of the GNU General Public License
 15           * along with this program; if not, write to the Free Software
 16           * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 17           */
 18           
 19           #include "afxwin.h"
 20           #include "afxcmn.h"
 21 rvultursv 1.1.1.1.2.1 #include "animatedicon.h"
 22                       
 23 toccy     1.1         #if !defined(AFX_FORM1_H__FA98B71B_D0B7_11D3_BC39_00C04F602FEE__INCLUDED_)
 24                       #define AFX_FORM1_H__FA98B71B_D0B7_11D3_BC39_00C04F602FEE__INCLUDED_
 25                       
 26                       #if _MSC_VER > 1000
 27                       #pragma once
 28                       #endif // _MSC_VER > 1000
 29                       
 30                       /////////////////////////////////////////////////////////////////////////////
 31                       // CSyncForm form view
 32                       
 33                       #ifndef __AFXEXT_H__
 34                       #include <afxext.h>
 35                       #endif
 36                       
 37 rvultursv 1.1.1.1.2.1 #include "CustomGroupbox.h"
 38                       #include "CustomLabel.h"
 39                       
 40 toccy     1.1         class CSyncForm : public CFormView
 41                       {
 42                       protected:
 43                       	CSyncForm();           // protected constructor used by dynamic creation
 44                       	DECLARE_DYNCREATE(CSyncForm)
 45                       
 46                       public:
 47                       	//{{AFX_DATA(CSyncForm)
 48                       	enum { IDD = IDD_SYNC_FORM };
 49                       		// NOTE: the ClassWizard will add data members here
 50                       	//}}AFX_DATA
 51                       
 52                       public:
 53                       
 54                       // Overrides
 55                       	// ClassWizard generated virtual function overrides
 56                       	//{{AFX_VIRTUAL(CSyncForm)
 57                       protected:
 58                       	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
 59                       	//}}AFX_VIRTUAL
 60                       
 61 toccy     1.1         	virtual ~CSyncForm();
 62                       
 63                       #ifdef _DEBUG
 64                       	virtual void AssertValid() const;
 65                       	virtual void Dump(CDumpContext& dc) const;
 66                       #endif
 67                       
 68                       	// Generated message map functions
 69                       	//{{AFX_MSG(CSyncForm)
 70                       		// NOTE - the ClassWizard will add and remove member functions here.
 71                       	//}}AFX_MSG
 72                       	DECLARE_MESSAGE_MAP()
 73                       public:
 74 rvultursv 1.1.1.1.2.2     CFont fontBold;
 75 rvultursv 1.1.1.1.2.1     CBrush brush;
 76                           CButton butStart;
 77                           CAnimatedIcon iconContacts;
 78                           CAnimatedIcon iconCalendar;
 79                           CAnimatedIcon iconTasks;
 80                           CAnimatedIcon iconNotes;
 81                           CCustomGroupbox groupSync;
 82                           CButton groupSources;
 83                           CCustomLabel linkCalendar; 
 84                           CCustomLabel linkContacts;
 85                           CCustomLabel linkNotes;
 86                           CCustomLabel linkTasks;
 87 toccy     1.1         
 88 rvultursv 1.1.1.1.2.1     void refreshSources();
 89 toccy     1.1             void showSyncControls(BOOL show);
 90                           void resetSyncControls();
 91 rvultursv 1.1.1.1.2.1     void changeContactsStatus(CString status);
 92                           void changeCalendarStatus(CString status);
 93                           void changeTasksStatus(CString status);
 94                           void changeNotesStatus(CString status);
 95                       
 96 toccy     1.1             afx_msg LRESULT OnInitForm(WPARAM, LPARAM);
 97                           afx_msg void OnBnClickedMainButSync();
 98                           afx_msg void OnNcPaint( );
 99 rvultursv 1.1.1.1.2.1     afx_msg void OnBnClickedMainButStart();
100                           afx_msg HBRUSH OnCtlColor( CDC* pDC, CWnd* pWnd, UINT nCtlColor);
101                           virtual void OnDraw(CDC* pDC);
102                           afx_msg void OnStnClickedMainLinkCalendar();
103                           afx_msg void OnStnClickedMainLinkContacts();
104                           afx_msg void OnStnClickedMainLinkNotes();
105                           afx_msg void OnStnClickedMainLinkTasks();
106                           afx_msg BOOL OnSetCursor(CWnd* pWnd,  UINT nHitTest,  UINT message );
107 toccy     1.1         };
108                       
109                       /////////////////////////////////////////////////////////////////////////////
110                       
111                       //{{AFX_INSERT_LOCATION}}
112                       // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
113                       
114                       #endif // !defined(AFX_FORM1_H__FA98B71B_D0B7_11D3_BC39_00C04F602FEE__INCLUDED_)

webmaster@ow2.org
Powered by
ViewCVS 0.9.4

Back to OW2 Forge