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.

47 lines
1.3 KiB

  1. //==============================================================;
  2. //
  3. // This source code is only intended as a supplement to
  4. // existing Microsoft documentation.
  5. //
  6. //
  7. //
  8. //
  9. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  10. // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  11. // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  12. // PURPOSE.
  13. //
  14. // Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  15. //
  16. //
  17. //
  18. //==============================================================;
  19. #ifndef _SKY_H
  20. #define _SKY_H
  21. #include "DeleBase.h"
  22. class CSkyBasedVehicle : public CDelegationBase {
  23. public:
  24. CSkyBasedVehicle() { }
  25. virtual ~CSkyBasedVehicle() {}
  26. virtual const _TCHAR *GetDisplayName(int nCol = 0) { return _T("Sky-based Vehicles"); }
  27. virtual const GUID & getNodeType() { return thisGuid; }
  28. virtual const int GetBitmapIndex() { return INDEX_SKYICON; }
  29. public:
  30. virtual HRESULT OnShow(IConsole *pConsole, BOOL bShow, HSCOPEITEM scopeitem);
  31. virtual HRESULT GetResultViewType(LPOLESTR *ppViewType, long *pViewOptions);
  32. private:
  33. enum { IDM_NEW_SKY = 3 };
  34. // {2974380F-4C4B-11d2-89D8-000021473128}
  35. static const GUID thisGuid;
  36. };
  37. #endif // _SKY_H