Source code of Windows XP (NT5)
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.

53 lines
1.4 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright(C) 2000 Microsoft Corporation all rights reserved.
  4. //
  5. // Module: ProxyServersGroupHelper.h
  6. //
  7. // Project: Windows 2000 IAS
  8. //
  9. // Description: CProxyServersGroupHelper class
  10. //
  11. // Author: tperraut
  12. //
  13. // Revision 02/24/2000 created
  14. //
  15. /////////////////////////////////////////////////////////////////////////////
  16. #ifndef _PROXYSERVERSGROUPHELPER_H_D9B838F7_0269_47C8_BAB3_10927AB9FCAD
  17. #define _PROXYSERVERSGROUPHELPER_H_D9B838F7_0269_47C8_BAB3_10927AB9FCAD
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. #include "ProxyServerHelper.h"
  22. #include <vector>
  23. using namespace std;
  24. typedef vector<CProxyServerHelper> ServerArray;
  25. class CProxyServersGroupHelper
  26. {
  27. public:
  28. explicit CProxyServersGroupHelper(CGlobalData& pGlobalData);
  29. LPCOLESTR GetName() const;
  30. LONG GetIdentity() const;
  31. void Add(CProxyServerHelper& Server);
  32. void SetName(const _bstr_t& pName);
  33. void Persist();
  34. private:
  35. CGlobalData& m_pGlobalData;
  36. BOOL m_NewGroupIdSet;
  37. _bstr_t m_Name;
  38. LONG m_GroupIdentity;
  39. ServerArray m_ServerArray;
  40. static LONG m_GroupParent;
  41. CProxyServersGroupHelper& operator=(const CProxyServersGroupHelper&);
  42. };
  43. #endif // _PROXYSERVERSGROUPHELPER_H_D9B838F7_0269_47C8_BAB3_10927AB9FCAD