|
// DSAddIn.h : header file
//
#if !defined(AFX_DSADDIN_H__E39DF58E_1CC8_490F_9DB5_521CB6A86E71__INCLUDED_)
#define AFX_DSADDIN_H__E39DF58E_1CC8_490F_9DB5_521CB6A86E71__INCLUDED_
#include "commands.h"
// {2716D517-EC6B-4E49-8E33-DBF6E1FE85F8}
DEFINE_GUID(CLSID_DSAddIn,
0x2716d517, 0xec6b, 0x4e49, 0x8e, 0x33, 0xdb, 0xf6, 0xe1, 0xfe, 0x85, 0xf8);
/////////////////////////////////////////////////////////////////////////////
// CDSAddIn
class CDSAddIn :
public IDSAddIn,
public CComObjectRoot,
public CComCoClass<CDSAddIn, &CLSID_DSAddIn>
{
public:
DECLARE_REGISTRY(CDSAddIn, "VSSPVer.DSAddIn.1",
"VSSPVER Developer Studio Add-in", IDS_VSSPVER_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++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DSADDIN_H__E39DF58E_1CC8_490F_9DB5_521CB6A86E71__INCLUDED)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.