Click here to Skip to main content
15,881,882 members
Articles / Desktop Programming / MFC

Be Sweet - a set of visual source code browsers

Rate me:
Please Sign up or sign in to vote.
4.85/5 (35 votes)
1 Jul 20038 min read 183.6K   4.9K   122  
A set of source code and project browsers to compliment Visual Studio.
// ESBDSAddin.idl : IDL source for ESBDSAddin.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (ESBDSAddin.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(524A9255-A05C-4DBC-A5C8-F29483BFA3F4),
		dual,
		helpstring("IESBDSAddin Interface"),
		pointer_default(unique)
	]
	interface IESBDSAddin : IDispatch
	{
		[id(1), helpstring("method gotoLine")]
		HRESULT gotoLine([in] BSTR file, [in] long line);
	};
	[
		object,
		uuid(18B53036-6F47-4F97-8A40-FDA17971A6A4),
		dual,
		helpstring("ICommands Interface"),
		pointer_default(unique)
	]
	interface ICommands : IDispatch
	{
		[id(1), helpstring("method setProperties")]
		HRESULT setProperties();

		[id(2), helpstring("method showOutlineBrowser")]
		HRESULT showOutlineBrowser();

		[id(3), helpstring("method showTypeBrowser")]
		HRESULT showTypeBrowser();

		[id(4), helpstring("method showMethodBrowser")]
		HRESULT showMethodBrowser();

		[id(5), helpstring("method showWorkspaceBrowser")]
		HRESULT showWorkspaceBrowser();

		[id(6), helpstring("method showHierarchyBrowser")]
		HRESULT showHierarchyBrowser();
	};

[
	uuid(DBAA9264-5569-4AF1-9FE1-2214BCC43271),
	version(1.0),
	helpstring("ESBDSAddin 1.0 Type Library")
]
library ESBDSADDINLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");
	importlib("devshl.dll");
	importlib("ide\devdbg.pkg");

	[
		uuid(5EEA1EDA-4D17-42F4-A9BA-63657FAF60CA),
		helpstring("BeSweet DSAddin")
	]
	coclass ESBDSAddin
	{
		[default] interface IESBDSAddin;
	};
	[
		uuid(B67FD143-30F5-4C1C-84CC-64CBE1AB350F),
		helpstring("Commands Class")
	]
	coclass Commands
	{
		[default] interface ICommands;
	};

	[ hidden, uuid(97618E7E-F082-4BBD-84CC-CB467290753A) ]
	coclass ApplicationEvents
	{
		[default] interface IApplicationEvents;
	}

	[ hidden, uuid(BFD7E734-695C-4092-9566-52B57917BD60) ]
	coclass DebuggerEvents
	{
		[default] interface IDebuggerEvents;
	}
};

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.

License

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


Written By
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions