home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2001 June
/
VPR0106A.BIN
/
OLS
/
PREX102
/
PrEx102.lzh
/
Src.lzh
/
DSAddIn.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-02-23
|
1KB
|
47 lines
// DSAddIn.h : ヘッダー ファイル
//
#if !defined(AFX_DSADDIN_H__93A93B8F_2ECF_4FA9_9466_948E0EB3582B__INCLUDED_)
#define AFX_DSADDIN_H__93A93B8F_2ECF_4FA9_9466_948E0EB3582B__INCLUDED_
#include "commands.h"
// {E99F3828-60F1-4DDA-A484-5BCE8984CE35}
DEFINE_GUID(CLSID_DSAddIn,
0xe99f3828, 0x60f1, 0x4dda, 0xa4, 0x84, 0x5b, 0xce, 0x89, 0x84, 0xce, 0x35);
/////////////////////////////////////////////////////////////////////////////
// CDSAddIn
class CDSAddIn :
public IDSAddIn,
public CComObjectRoot,
public CComCoClass<CDSAddIn, &CLSID_DSAddIn>
{
public:
DECLARE_REGISTRY(CDSAddIn, _T("Project Explorer AddIn"),
_T("PROJEXP Developer Studio Add-in"), IDS_PROJEXP_LONGNAME,
THREADFLAGS_BOTH)
CDSAddIn() {}
BEGIN_COM_MAP(CDSAddIn)
COM_INTERFACE_ENTRY(IDSAddIn)
END_COM_MAP()
DECLARE_NOT_AGGREGATABLE(CDSAddIn)
// IDSAddIns
public:
STDMETHOD(OnConnection)(THIS_ IApplication* pApp, VARIANT_BOOL bFirstTime,
long dwCookie, VARIANT_BOOL* OnConnection);
STDMETHOD(OnDisconnection)(THIS_ VARIANT_BOOL bLastTime);
protected:
CCommandsObj* m_pCommands;
DWORD m_dwCookie;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ は前行の直前に追加の宣言を挿入します。
#endif // !defined(AFX_DSADDIN_H__93A93B8F_2ECF_4FA9_9466_948E0EB3582B__INCLUDED)