-
Notifications
You must be signed in to change notification settings - Fork 0
/
ontoumleaplugin.idl
80 lines (74 loc) · 2.51 KB
/
ontoumleaplugin.idl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// ontouml-ea-plugin.idl : IDL source for ontouml-ea-plugin
//
// This file will be processed by the MIDL tool to
// produce the type library (ontoumleaplugin.tlb) and marshalling code.
#include "olectl.h"
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(53fb6b99-3b18-4d0c-aae9-bab17ea2141a),
dual,
nonextensible,
pointer_default(unique)
]
interface IValidationResultControl : IDispatch
{
[propput, bindable, requestedit, id(DISPID_BACKCOLOR)]
HRESULT BackColor([in]OLE_COLOR clr);
[propget, bindable, requestedit, id(DISPID_BACKCOLOR)]
HRESULT BackColor([out,retval]OLE_COLOR* pclr);
[propput, bindable, requestedit, id(DISPID_FILLCOLOR)]
HRESULT FillColor([in]OLE_COLOR clr);
[propget, bindable, requestedit, id(DISPID_FILLCOLOR)]
HRESULT FillColor([out, retval]OLE_COLOR* pclr);
[propput, bindable, requestedit, id(DISPID_FORECOLOR)]
HRESULT ForeColor([in]OLE_COLOR clr);
[propget, bindable, requestedit, id(DISPID_FORECOLOR)]
HRESULT ForeColor([out,retval]OLE_COLOR* pclr);
[propput, bindable, requestedit, id(DISPID_TEXT)]
HRESULT Text([in]BSTR strText);
[propget, bindable, requestedit, id(DISPID_TEXT)]
HRESULT Text([out, retval]BSTR* pstrText);
};
[
uuid(78d2889a-4a16-4088-9f87-ea270d443635),
version(1.0),
]
library ontoumleapluginLib
{
importlib("stdole2.tlb");
importlib("EA.tlb");
[
uuid(bccaf007-4701-4f10-a1a2-28d5a46b0a8c)
]
coclass OntoUML
{
[default] interface IOntoUML;
};
[
object,
uuid(69969391-e037-417b-b925-e0195e06afcd),
dual,
nonextensible,
pointer_default(unique)
]
interface IOntoUML : IDispatch
{
HRESULT EA_Connect([in] IDualRepository* pRepo, [out, retval] BSTR* pRetVal);
HRESULT EA_GetMenuItems([in] IDualRepository* pRepo, [in] BSTR bstrMenuLocation, [in] BSTR bstrMenuName, [out, retval] VARIANT* pRetVal);
HRESULT EA_GetMenuState([in] IDualRepository* pRepo, [in] BSTR bstrMenuLocation, [in] BSTR bstrMenuName, [in] BSTR bstrItemName, [out] VARIANT_BOOL* pIsEnabled, [out] VARIANT_BOOL* pIsChecked);
HRESULT EA_MenuClick([in] IDualRepository* pRepo, [in] BSTR bstrMenuLocation, [in] BSTR bstrMenuName, [in] BSTR bstrItemName);
HRESULT EA_OnOutputItemClicked([in] IDualRepository* pRepo, [in] BSTR bstrTabName, [in] BSTR bstrLineText, [in] int Id);
HRESULT EA_OnOutputItemDoubleClicked([in] IDualRepository* pRepo, [in] BSTR bstrTabName, [in] BSTR bstrLineText, [in] int Id);
};
[
uuid(dd659e12-5d8d-4207-9403-3968abec3db1),
control
]
coclass ValidationResultControl
{
[default] interface IValidationResultControl;
};
};
import "shobjidl.idl";