1 // DSAddIn.h : header file
4 #if !defined(AFX_DSADDIN_H__AC726715_2977_11D1_B2F3_006008040780__INCLUDED_)
5 #define AFX_DSADDIN_H__AC726715_2977_11D1_B2F3_006008040780__INCLUDED_
9 // {4F9E01C0-406B-11d2-8006-00001C405077}
10 DEFINE_GUID (CLSID_DSAddIn
,
11 0x4f9e01c0, 0x406b, 0x11d2, 0x80, 0x6, 0x0, 0x0, 0x1c, 0x40, 0x50, 0x77);
13 /////////////////////////////////////////////////////////////////////////////
18 public CComObjectRoot
,
19 public CComCoClass
< CDSAddIn
,
23 DECLARE_REGISTRY (CDSAddIn
, "VisVim.DSAddIn.1",
24 "VisVim Developer Studio Add-in", IDS_VISVIM_LONGNAME
,
31 BEGIN_COM_MAP (CDSAddIn
)
32 COM_INTERFACE_ENTRY (IDSAddIn
)
34 DECLARE_NOT_AGGREGATABLE (CDSAddIn
)
38 STDMETHOD (OnConnection
) (THIS_ IApplication
* pApp
, VARIANT_BOOL bFirstTime
,
39 long dwCookie
, VARIANT_BOOL
* OnConnection
);
40 STDMETHOD (OnDisconnection
) (THIS_ VARIANT_BOOL bLastTime
);
43 bool AddCommand (IApplication
* pApp
, char* MethodName
, char* CmdName
,
44 UINT StrResId
, UINT GlyphIndex
, VARIANT_BOOL bFirstTime
);
47 CCommandsObj
* m_pCommands
;
51 //{{AFX_INSERT_LOCATION}}
53 #endif // !defined(AFX_DSADDIN_H__AC726715_2977_11D1_B2F3_006008040780__INCLUDED)