48 lines
1.3 KiB
C
48 lines
1.3 KiB
C
|
//==============================================================;
|
||
|
//
|
||
|
// This source code is only intended as a supplement to
|
||
|
// existing Microsoft documentation.
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
|
||
|
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
|
||
|
// PURPOSE.
|
||
|
//
|
||
|
// Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//==============================================================;
|
||
|
|
||
|
#ifndef _LAND_H
|
||
|
#define _LAND_H
|
||
|
|
||
|
#include "DeleBase.h"
|
||
|
|
||
|
class CLandBasedVehicle : public CDelegationBase {
|
||
|
public:
|
||
|
CLandBasedVehicle() { }
|
||
|
|
||
|
virtual ~CLandBasedVehicle() {}
|
||
|
|
||
|
virtual const _TCHAR *GetDisplayName(int nCol = 0) { return _T("Land-based Vehicles"); }
|
||
|
virtual const GUID & getNodeType() { return thisGuid; }
|
||
|
virtual const int GetBitmapIndex() { return INDEX_LANDICON; }
|
||
|
|
||
|
public:
|
||
|
// virtual functions go here (for MMCN_*)
|
||
|
virtual HRESULT OnAddMenuItems(IContextMenuCallback *pContextMenuCallback, long *pInsertionsAllowed);
|
||
|
virtual HRESULT OnMenuCommand(IConsole *pConsole, long lCommandID);
|
||
|
|
||
|
private:
|
||
|
enum { IDM_NEW_LAND = 2 };
|
||
|
|
||
|
// {2974380E-4C4B-11d2-89D8-000021473128}
|
||
|
static const GUID thisGuid;
|
||
|
};
|
||
|
|
||
|
#endif // _LAND_H
|