OW2 Consortium

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

Diff for /sync4j/funambol/clients/outlook/UI/src/SyncForm.h between version 1.7 and 1.10

version 1.7, 2007/02/06 17:13:00 version 1.10, 2007/02/07 16:15:20
Line 36 
Line 36 
  
 #include "CustomGroupbox.h" #include "CustomGroupbox.h"
 #include "CustomLabel.h" #include "CustomLabel.h"
   #include "CustomPane.h"
  
 class CSyncForm : public CFormView class CSyncForm : public CFormView
 { {
Line 82 
Line 83 
     CAnimatedIcon iconTasks;     CAnimatedIcon iconTasks;
     CAnimatedIcon iconNotes;     CAnimatedIcon iconNotes;
     CButton groupSources;     CButton groupSources;
     CCustomLabel linkCalendar;  
     CCustomLabel linkContacts;  
     CCustomLabel linkNotes;  
     CCustomLabel linkTasks;  
     CBitmap bmpBackground;     CBitmap bmpBackground;
     CBrush  brushHollow;     CBrush  brushHollow;
  
     CBrush brushRed;      // right hand status icons
     //      CAnimatedIcon iconStatusContacts;
       CAnimatedIcon iconStatusCalendar;
       CAnimatedIcon iconStatusTasks;
       CAnimatedIcon iconStatusNotes;
       CAnimatedIcon iconStatusSync;
   
       // panes
       CCustomPane paneSync;
       CCustomPane paneContacts;
       CCustomPane paneCalendar;
       CCustomPane paneTasks;
       CCustomPane paneNotes;
   
       // sync source states {SYNCSOURCE_STATE_OK, SYNCSOURCE_STATE_NOT_SYNCED, SYNCSOURCE_STATE_CANCELED}
       // defined in winmaincpp.h
     int syncSourceContactState, syncSourceCalendarState;     int syncSourceContactState, syncSourceCalendarState;
     int syncSourceTaskState, syncSourceNoteState;     int syncSourceTaskState, syncSourceNoteState;
  
   
       /**
       * refresh UI info about a source
       * @param sourceId : the source type id {SYNCSOURCE_CONTACTS,..}, defined in ClientUtil.h
       */
       void refreshSource(int sourceId);
   
       // refresh UI info about all sources, calls refreshSource for every sync source
     void refreshSources();     void refreshSources();
   
       /**
       * repaints sync controls from a pane associated to a source
       * @param paneType : the pane type id {PANE_TYPE_CONTACTS, ..}, defined in CustomPane.h
       */
       void repaintPaneControls(int paneType);
   
       // shows/hides the sync controls
     void showSyncControls(BOOL show);     void showSyncControls(BOOL show);
     void resetSyncControls();  
       // change UI status text for a source
     void changeContactsStatus(CString status);     void changeContactsStatus(CString status);
     void changeCalendarStatus(CString status);     void changeCalendarStatus(CString status);
     void changeTasksStatus(CString status);     void changeTasksStatus(CString status);
Line 106 
Line 134 
     afx_msg void OnBnClickedMainButSync();     afx_msg void OnBnClickedMainButSync();
     afx_msg void OnNcPaint( );     afx_msg void OnNcPaint( );
     afx_msg HBRUSH OnCtlColor( CDC* pDC, CWnd* pWnd, UINT nCtlColor);     afx_msg HBRUSH OnCtlColor( CDC* pDC, CWnd* pWnd, UINT nCtlColor);
     afx_msg void OnStnClickedMainLinkCalendar();  
     afx_msg void OnStnClickedMainLinkContacts();  
     afx_msg void OnStnClickedMainLinkNotes();  
     afx_msg void OnStnClickedMainLinkTasks();  
     afx_msg BOOL OnSetCursor(CWnd* pWnd,  UINT nHitTest,  UINT message );     afx_msg BOOL OnSetCursor(CWnd* pWnd,  UINT nHitTest,  UINT message );
     afx_msg BOOL OnEraseBkgnd(CDC* pDC);     afx_msg BOOL OnEraseBkgnd(CDC* pDC);
     afx_msg void OnPaint();  
     afx_msg void OnStnClickedMainButStart();      // when main sync pane is clicked
 public:      afx_msg void OnStnClickedMainBkSync();
     CAnimatedIcon iconStatusContacts;  
 public:      // when sync source panes are clicked
     CAnimatedIcon iconStatusCalendar;      afx_msg void OnStnClickedMainBkContacts();
 public:      afx_msg void OnStnClickedMainBkCalendar();
     CAnimatedIcon iconStatusTasks;      afx_msg void OnStnClickedMainBkTasks();
 public:      afx_msg void OnStnClickedMainBkNotes();
     CAnimatedIcon iconStatusNotes;  
 public:  
     CAnimatedIcon iconStatusSync;  
 public:  
     CStatic paneSync;  
 }; };
  
 ///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.10

webmaster@ow2.org
Powered by
ViewCVS 0.9.4

Back to OW2 Forge