home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2001 June
/
VPR0106A.BIN
/
OLS
/
PREX102
/
PrEx102.lzh
/
Src.lzh
/
Commands.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-02-23
|
1KB
|
40 lines
// Commands.h : ヘッダー ファイル
//
#if !defined(AFX_COMMANDS_H__0A744FDF_85D3_4D6D_A95D_649863570E8F__INCLUDED_)
#define AFX_COMMANDS_H__0A744FDF_85D3_4D6D_A95D_649863570E8F__INCLUDED_
#include "ProjExpTypes.h"
class CCommands :
public CComDualImpl<ICommands, &IID_ICommands, &LIBID_ProjExp>,
public CComObjectRoot,
public CComCoClass<CCommands, &CLSID_Commands>
{
protected:
IApplication* m_pApplication;
public:
CCommands();
~CCommands();
void SetApplicationObject(IApplication* m_pApplication);
BEGIN_COM_MAP(CCommands)
COM_INTERFACE_ENTRY(IDispatch)
COM_INTERFACE_ENTRY(ICommands)
END_COM_MAP()
DECLARE_NOT_AGGREGATABLE(CCommands)
public:
STDMETHOD(ProjExpSpCommandMethod)();
// ICommands メソッド
STDMETHOD(ProjExpCommandMethod)(THIS);
};
typedef CComObject<CCommands> CCommandsObj;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ は前行の直前に追加の宣言を挿入します。
#endif // !defined(AFX_COMMANDS_H__0A744FDF_85D3_4D6D_A95D_649863570E8F__INCLUDED)