Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.0 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Copyright (C) 1993-1998 Microsoft Corporation. All Rights Reserved.
  3. //
  4. // MODULE: syncprop.h
  5. //
  6. // PURPOSE: Defines constants for Sync settings prop sheet
  7. //
  8. #ifndef __SYNCPROP_H__
  9. #define __SYNCPROP_H__
  10. #include "grplist2.h"
  11. class CSyncPropDlg:
  12. public IGroupListAdvise
  13. {
  14. public:
  15. // === IUnknown
  16. STDMETHODIMP QueryInterface(REFIID, LPVOID FAR *);
  17. STDMETHODIMP_(ULONG) AddRef();
  18. STDMETHODIMP_(ULONG) Release();
  19. // === IGroupListAdvise
  20. STDMETHODIMP ItemUpdate(void);
  21. STDMETHODIMP ItemActivate(FOLDERID id);
  22. // === Constructors, destructors and initialization
  23. CSyncPropDlg();
  24. ~CSyncPropDlg();
  25. BOOL Initialize(HWND hwndOwner, LPCSTR pszAcctID, LPCSTR pszAcctName, ACCTTYPE accttype);
  26. void Show();
  27. private:
  28. static BOOL CALLBACK DlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
  29. BOOL InitDlg(HWND hwnd);
  30. LONG m_cRef;
  31. PROPSHEETPAGE m_pspage;
  32. PROPSHEETHEADER m_pshdr;
  33. DWORD m_dwIconID;
  34. LPSTR m_pszAcctName;
  35. CColumns *m_pColumns;
  36. CGroupList *m_pGrpList;
  37. ACCTTYPE m_accttype;
  38. HWND m_hwndList;
  39. IF_DEBUG(BOOL m_fInit;)
  40. };
  41. void ShowPropSheet(HWND hwnd, LPCSTR pszAcctID, LPCSTR pszAcctName, ACCTTYPE accttype);
  42. ////////////////////////////////////////////////////////////////////////////
  43. // Control IDs for iddSyncSettings
  44. #define idcIcon 1001
  45. #define idcAccount 1002
  46. #define idcAccountName 1003
  47. #define idcList 1004
  48. #define idcSynchronize 1005
  49. #define idcMode 1006
  50. #define idcDownload 1007
  51. #endif // __SYNCPROP_H__