⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 withclss.idl

📁 c#设计模式WithCla
💻 IDL
📖 第 1 页 / 共 5 页
字号:
 HRESULT MovedClass([in]IClass *TheSelectedClass);
			[id(eventidPreClassPlacement), helpstring("Event triggered when the Draw class button is clicked")]
 HRESULT PreClassPlacement();
			[id(eventidPostClassPlacement), helpstring("Event triggered after class is placed on document")]
 HRESULT PostClassPlacement();
			[id(eventidEndSelectClipRegion), helpstring("Event triggered after clip region is selected")]
 HRESULT SelectedClipRegion([in]short x1, [in]short y1, [in]short x2, [in]short y2);
			[id(eventidClassChanged), helpstring("Event triggered when a Class has changed some of its data")]
 HRESULT ClassChanged([in]IClass *TheChangedClass);
			[id(eventidAttributeChanged), helpstring("Event triggered when an Attribute has changed some of its data")]
 HRESULT AttributeChanged([in]IAttribute *TheChangedAttribute);
			[id(eventidOperationChanged), helpstring("Event triggered when an Operation has changed some of its data")]
 HRESULT OperationChanged([in]IOperation *TheChangedOperation);
			[id(eventidOpenDocument), helpstring("Event triggered after document is opened")]
 HRESULT OnDocumentOpen();
			[id(eventidCloseDocument), helpstring("Event triggered before document is closed")]
 HRESULT OnDocumentClose();
			[id(eventidReverseStateChanged), helpstring("Event triggered every time the parser changes states when reversing code")]
 HRESULT OnReverseStateChanged([in]short State, [in]IParser *TheReverseParser, [in]IClass *TheCurrentClass);
			[id(eventidUserUtilityMenu), helpstring("Event triggered when a user utility menu item is chosen")]
 HRESULT OnUserUtilityMenuItemChanged([in]short itemNumber);
			[id(eventidUserClassMenu), helpstring("Event triggered when a user class menu item is chosen")]
 HRESULT OnUserClassMenuItemChanged([in]short itemNumber, [in]IClass *TheCurrentClass);
			[id(eventidUserShapeMenu), helpstring("Event triggered when a user shape menu item is chosen")]
 HRESULT OnUserShapeMenuItemChanged([in]short itemNumber, [in]IShape *TheCurrentShape);
			//}}AFX_ODL_EVENT
	};

	[
		uuid(D8DFA014-0428-11d4-9630-00105AC594F1)
	]
	dispinterface DEDocumentEvents 
	{
		interface EDocumentEvents;
	};

	//  Primary dispatch interface for CRcsalvControlExtender

	[ uuid(46df0377-7c95-11d1-b746-000000000000),
	  hidden
	]
	interface IRcsalvControlExtender : IDispatch
	{
//////////////////		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CRcsalvControlExtender)
			//}}AFX_ODL_PROP
//			[propget,id(MEMID_Name)] HRESULT Name([out, retval] BSTR* pVal);
//			[propput,id(MEMID_Name)] HRESULT Name[in] BSTR Val);
			
////		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CVbatestControlExtender)
			//}}AFX_ODL_METHOD

	};

	[ uuid(46df0379-7c95-11d1-b746-000000000000),
	  hidden
	]
	interface ERcsalvControlExtender : IDispatch
	{
//		properties:
			//  Event interface has no properties

////		methods:
			// NOTE - ClassWizard will maintain event information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_EVENT(CRcsalvControlExtender)
			//}}AFX_ODL_EVENT
	};

	//  Class information for CRcsalvControlExtender
	
	[ uuid(46df0378-7c95-11d1-b746-000000000000),
	  hidden
	]
	coclass CRcsalvControlExtender
	{
		[default] interface IRcsalvControlExtender;
		[default, source] interface ERcsalvControlExtender;
	};





	[ uuid(46df0373-7c95-11d1-b746-000000000000),
	  helpstring("The WithClass application object represents an instance of With_Class.  It is the top-level object."),
	  dual,
	  hidden,
	  pointer_default(unique)
    ]
	interface IApplication : IDispatch
	{
			[propget, id(1), helpstring("The current document active in WithClass in an .omt file")] 
			HRESULT ActiveDocument([out, retval]IWithClass** pVal);
			[propget, id(2), helpstring("Collection of WithClass documents - .omt files.  The collection includes a document object for each open document - .omt file in the With_Class application")]
			HRESULT Documents([out, retval]IDocumentCollection** pVal);
			[id(3), helpstring("Opens a WithClass omt file and returns a document object")]
			HRESULT OpenFile([in]BSTR strFileName, [out, retval]IWithClass** pDoc);
			[id(4), helpstring("Creates a new WithClass file and returns a document object")]
			HRESULT NewFile([out, retval]IWithClass** pDoc);
			[id(5), helpstring("Exits WithClass")]
			HRESULT Quit();
			[propput, id(6), helpstring("Interactive")]
			HRESULT Interactive([in]VARIANT_BOOL bVal);
			[propget, id(6), helpstring("Interactive")]
			HRESULT Interactive([out, retval]VARIANT_BOOL *bVal);
			[propput, id(7), helpstring("Interactive")]
			HRESULT Visible([in]VARIANT_BOOL bVal);
			[propget, id(7), helpstring("Interactive")]
			HRESULT Visible([out, retval]VARIANT_BOOL *bVal);
	};

	//  Class information for CApplicationObject

	[ uuid(46df0374-7c95-11d1-b746-000000000000),
	  helpstring("The WithClass application object represents an instance of With_Class.  It is the top-level object."),
	  appobject
    ]
	coclass Application
	{
		[default] interface IApplication;
	};

	[ uuid(6FAF8995-25F3-11D0-9EB4-F02E03C10627), helpcontext(131473), helpstring("Class Object"),
	  dual,
	  hidden,
	  pointer_default(unique)
	]
	interface IClass : IDispatch
	{
  [propput, id(1), helpcontext(131473), helpstring("Visibility of a class - public, private, etc")]
  HRESULT Visibility([in] BSTR Val);
  [propget, id(1), helpcontext(131473), helpstring("Visibility of a class - public, private, etc")]
  HRESULT Visibility([out, retval] BSTR * pVal);
[propput, id(2), helpcontext(131473), helpstring("General class information, purpose, roles, essential behavior, and responsibilities")]
  HRESULT Description([in] BSTR Val);
  [propget, id(2), helpcontext(131473), helpstring("General class information, purpose, roles, essential behavior, and responsibilities")]
  HRESULT Description([out, retval] BSTR * pVal);
  [propget, id(3), helpcontext(131473), helpstring("Collection of attributes")]
  HRESULT Attributes([out, retval] IAttributeCollection** pVal);
  [propget, id(4), helpcontext(131473), helpstring("Collection of operations")]
  HRESULT Operations([out, retval] IOperationCollection** pVal);
  [propget, id(5), helpcontext(131473), helpstring("Import Names and Import File Name indicate the full path name of source code file imported, e.g. Car.java")]
  HRESULT Imports([out, retval] IImportCollection** pVal);
[propput, id(6), helpcontext(131473), helpstring("")]
  HRESULT Name([in] BSTR Val);
  [propget, id(6), helpcontext(131473), helpstring("")]
  HRESULT Name([out, retval] BSTR * pVal);
[propput, id(7), helpcontext(131473), helpstring("")]
  HRESULT Cardinality([in] BSTR Val);
  [propget, id(7), helpcontext(131473), helpstring("")]
  HRESULT Cardinality([out, retval] BSTR * pVal);
[propput, id(8), helpcontext(131473), helpstring("")]
  HRESULT Concurrency([in] BSTR Val);
  [propget, id(8), helpcontext(131473), helpstring("")]
  HRESULT Concurrency([out, retval] BSTR * pVal);
[propput, id(9), helpcontext(131473), helpstring("")]
  HRESULT Persistence([in] BSTR Val);
  [propget, id(9), helpcontext(131473), helpstring("")]
  HRESULT Persistence([out, retval] BSTR * pVal);
[propput, id(10), helpcontext(131473), helpstring("")]
  HRESULT LibraryBaseClass([in] BSTR Val);
  [propget, id(10), helpcontext(131473), helpstring("")]
  HRESULT LibraryBaseClass([out, retval] BSTR * pVal);
[propput, id(11), helpcontext(131473), helpstring("")]
  HRESULT Invariant([in] BSTR Val);
  [propget, id(11), helpcontext(131473), helpstring("")]
  HRESULT Invariant([out, retval] BSTR * pVal);
[propput, id(12), helpcontext(131473), helpstring("")]
  HRESULT FileName([in] BSTR Val);
  [propget, id(12), helpcontext(131473), helpstring("")]
  HRESULT FileName([out, retval] BSTR * pVal);
[propput, id(13), helpcontext(131473), helpstring("")]
  HRESULT ImportFileName([in] BSTR Val);
  [propget, id(13), helpcontext(131473), helpstring("")]
  HRESULT ImportFileName([out, retval] BSTR * pVal);
[propput, id(14), helpcontext(131473), helpstring("")]
  HRESULT Package([in] BSTR Val);
  [propget, id(14), helpcontext(131473), helpstring("")]
  HRESULT Package([out, retval] BSTR * pVal);
[propput, id(15), helpcontext(131473), helpstring("")]
  HRESULT User1([in] BSTR Val);
  [propget, id(15), helpcontext(131473), helpstring("")]
  HRESULT User1([out, retval] BSTR * pVal);
[propput, id(16), helpcontext(131473), helpstring("")]
  HRESULT User2([in] BSTR Val);
  [propget, id(16), helpcontext(131473), helpstring("")]
  HRESULT User2([out, retval] BSTR * pVal);
[propput, id(17), helpcontext(131473), helpstring("")]
  HRESULT User3([in] BSTR Val);
  [propget, id(17), helpcontext(131473), helpstring("")]
  HRESULT User3([out, retval] BSTR * pVal);
[propput, id(18), helpcontext(131473), helpstring("")]
  HRESULT Stereotype([in] BSTR Val);
  [propget, id(18), helpcontext(131473), helpstring("")]
  HRESULT Stereotype([out, retval] BSTR * pVal);
// Boolean Properties
  [propput, id(19), helpcontext(131473), helpstring("")]
  HRESULT IsAbstract([in] VARIANT_BOOL Val);
  [propget, id(19), helpcontext(131473), helpstring("")]
  HRESULT IsAbstract([out, retval] VARIANT_BOOL * pVal);
[propput, id(20), helpcontext(131473), helpstring("")]
  HRESULT IsParameterized([in] VARIANT_BOOL Val);
  [propget, id(20), helpcontext(131473), helpstring("")]
  HRESULT IsParameterized([out, retval] VARIANT_BOOL * pVal);
[propput, id(21), helpcontext(131473), helpstring("")]
  HRESULT IsInterface([in] VARIANT_BOOL Val);
  [propget, id(21), helpcontext(131473), helpstring("")]
  HRESULT IsInterface([out, retval] VARIANT_BOOL * pVal);
[propput, id(22), helpcontext(131473), helpstring("")]
  HRESULT IsFinal([in] VARIANT_BOOL Val);
  [propget, id(22), helpcontext(131473), helpstring("")]
  HRESULT IsFinal([out, retval] VARIANT_BOOL * pVal);
  [propput, id(23), helpcontext(131473), helpstring("")]
  HRESULT Id([in] short Val);
  [propget, id(23), helpcontext(131473), helpstring("")]
  HRESULT Id([out, retval] short * pVal);
  [propget, id(24), helpcontext(131473), helpstring("")]
  HRESULT SuperClasses([out, retval] IClassCollection** pVal);
  [propget, id(40), helpcontext(131473), helpstring("")]
  HRESULT SubClasses([out, retval] IClassCollection** pVal);
  [propget, id(25), helpcontext(131473), helpstring("")]
  HRESULT AggregationClasses([out, retval] IClassCollection** pVal);
  [propget, id(26), helpcontext(131473), helpstring("")]
  HRESULT AssociationClasses([out, retval] IClassCollection** pVal);
  [propget, id(27), helpcontext(131473), helpstring("")]
  HRESULT RelationsOut([out, retval] IRelationshipCollection** pVal);
  [propget, id(28), helpcontext(131473), helpstring("")]
  HRESULT RelationsIn([out, retval] IRelationshipCollection** pVal);
  [propget, id(29), helpcontext(131473), helpstring("")]
  HRESULT DependencyClasses([out, retval] IClassCollection** pVal);
  [propput, id(32), helpcontext(131473), helpstring("")]
  HRESULT XPosition([in] long Val);
  [propget, id(32), helpcontext(131473), helpstring("")]
  HRESULT XPosition([out, retval] long * pVal);
[propput, id(33), helpcontext(131473), helpstring("")]
  HRESULT YPosition([in] long Val);
  [propget, id(33), helpcontext(131473), helpstring("")]
  HRESULT YPosition([out, retval] long * pVal);
[propput, id(34), helpcontext(131473), helpstring("")]
  HRESULT Width([in] long Val);
  [propget, id(34), helpcontext(131473), helpstring("")]
  HRESULT Width([out, retval] long * pVal);
[propput, id(35), helpcontext(131473), helpstring("")]
  HRESULT Height([in] long Val);
  [propget, id(35), helpcontext(131473), helpstring("")]
  HRESULT Height([out, retval] long * pVal);
 [propput, id(36), helpcontext(131473), helpstring("")]
  HRESULT IsStructure([in] VARIANT_BOOL Val);
  [propget, id(36), helpcontext(131473), helpstring("")]
  HRESULT IsStructure([out, retval] VARIANT_BOOL * pVal);
[propput, id(37), helpcontext(131473), helpstring("")]
  HRESULT Color([in] long Val);
  [propget, id(37), helpcontext(131473), helpstring("")]
  HRESULT Color([out, retval] long * pVal);
[propput, id(38), helpcontext(131473), helpstring("")]
  HRESULT Selection([in] VARIANT_BOOL Val);
  [propget, id(38), helpcontext(131473), helpstring("")]
  HRESULT Selection([out, retval] VARIANT_BOOL * pVal);
  [propget, id(41), helpstring("property Object Ptr"),hidden] 
  HRESULT ObjectPtr([out, retval] long *pVal);
  [propget, id(42), helpstring("The Display Type information in the attributes and operations of the class")] 
  HRESULT ShowType([out, retval] VARIANT_BOOL *pVal);
 [propput, id(42), helpstring("The Display Type information in the attributes and operations of the class")] 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -