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.

128 lines
2.9 KiB

  1. // NewQuery.h : header file
  2. //
  3. #include "resource.h"
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CNewQuery dialog
  6. class CNewQuery : public CDialog
  7. {
  8. // Construction
  9. public:
  10. CNewQuery(CWnd* pParent = NULL); // standard constructor
  11. // Dialog Data
  12. //{{AFX_DATA(CNewQuery)
  13. enum { IDD = IDD_NEWQUERY };
  14. CString m_strPassword;
  15. BOOL m_bEncryptPassword;
  16. BOOL m_bUseSQL;
  17. CString m_strScope;
  18. BOOL m_bUseSearch;
  19. //}}AFX_DATA
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CNewQuery)
  23. protected:
  24. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  25. //}}AFX_VIRTUAL
  26. private:
  27. void SaveLRUList( int idCBox, TCHAR* szSection, int nMax = 100 );
  28. void GetLRUList( int idCBox, TCHAR* szSection );
  29. public:
  30. CString m_strAttributes;
  31. CString m_strQuery;
  32. CString m_strSource;
  33. CString m_strUser;
  34. // Implementation
  35. protected:
  36. // Generated message map functions
  37. //{{AFX_MSG(CNewQuery)
  38. virtual BOOL OnInitDialog();
  39. virtual void OnOK();
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. /////////////////////////////////////////////////////////////////////////////
  44. // CSearchPreferencesDlg dialog
  45. class CSearchPreferencesDlg : public CDialog
  46. {
  47. // Construction
  48. public:
  49. CSearchPreferencesDlg(CWnd* pParent = NULL); // standard constructor
  50. // Dialog Data
  51. //{{AFX_DATA(CSearchPreferencesDlg)
  52. enum { IDD = IDD_SEARCHPREFERENCES };
  53. CString m_strAsynchronous;
  54. CString m_strAttributesOnly;
  55. CString m_strDerefAliases;
  56. CString m_strPageSize;
  57. CString m_strScope;
  58. CString m_strSizeLimit;
  59. CString m_strTimeLimit;
  60. CString m_strTimeOut;
  61. CString m_strChaseReferrals;
  62. //}}AFX_DATA
  63. // Overrides
  64. // ClassWizard generated virtual function overrides
  65. //{{AFX_VIRTUAL(CSearchPreferencesDlg)
  66. protected:
  67. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  68. //}}AFX_VIRTUAL
  69. // Implementation
  70. protected:
  71. // Generated message map functions
  72. //{{AFX_MSG(CSearchPreferencesDlg)
  73. virtual BOOL OnInitDialog();
  74. virtual void OnOK();
  75. //}}AFX_MSG
  76. DECLARE_MESSAGE_MAP()
  77. };
  78. /////////////////////////////////////////////////////////////////////////////
  79. // CACEDialog dialog
  80. class CACEDialog : public CDialog
  81. {
  82. // Construction
  83. public:
  84. CACEDialog(CWnd* pParent = NULL); // standard constructor
  85. // Dialog Data
  86. //{{AFX_DATA(CACEDialog)
  87. enum { IDD = IDD_ADDACEDLG };
  88. CString m_strTrustee;
  89. //}}AFX_DATA
  90. // Overrides
  91. // ClassWizard generated virtual function overrides
  92. //{{AFX_VIRTUAL(CACEDialog)
  93. protected:
  94. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  95. //}}AFX_VIRTUAL
  96. // Implementation
  97. protected:
  98. // Generated message map functions
  99. //{{AFX_MSG(CACEDialog)
  100. // NOTE: the ClassWizard will add member functions here
  101. //}}AFX_MSG
  102. DECLARE_MESSAGE_MAP()
  103. };