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.

52 lines
1.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: ntgcond.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // NTGCond.h: interface for the CNTGroupsCondition class.
  11. //
  12. //////////////////////////////////////////////////////////////////////
  13. #if !defined(AFX_NTGCOND_H__9F91767B_A693_11D1_BBEB_00C04FC31851__INCLUDED_)
  14. #define AFX_NTGCOND_H__9F91767B_A693_11D1_BBEB_00C04FC31851__INCLUDED_
  15. #if _MSC_VER >= 1000
  16. #pragma once
  17. #endif // _MSC_VER >= 1000
  18. #include "atltmp.h"
  19. #include "Condition.h"
  20. class CNTGroupsCondition : public CCondition
  21. {
  22. public:
  23. CNTGroupsCondition( IIASAttributeInfo* pCondAttr,
  24. ATL::CString& strConditionText,
  25. HWND hWndParent,
  26. LPTSTR pszServerAddress
  27. );
  28. CNTGroupsCondition(IIASAttributeInfo* pCondAttr,
  29. HWND hWndParent,
  30. LPTSTR pszServerAddress
  31. );
  32. virtual ~CNTGroupsCondition();
  33. HRESULT Edit();
  34. virtual ATL::CString GetDisplayText();
  35. virtual WCHAR* GetConditionText();
  36. protected:
  37. HWND m_hWndParent;
  38. LPTSTR m_pszServerAddress;
  39. BOOL m_fParsed;
  40. HRESULT ParseConditionText(); // parse the condition text
  41. ATL::CString m_strDisplayCondText;
  42. };
  43. #endif // !defined(AFX_NTGCOND_H__9F91767B_A693_11D1_BBEB_00C04FC31851__INCLUDED_)