00001 import "ocidl.idl";
00002 import "oaidl.idl";
00003
00024 [ uuid(B8E9B776-B403-445a-BDA0-0BAA324A8F88),
00025 version(1.0),
00026 helpstring("LightComp Tahiti 5.0 Type Library") ]
00027 library TahitiAutomation
00028 {
00029 importlib("stdole2.tlb");
00030
00031 interface tcomIApplication;
00032 interface tcomIViewObject;
00033
00039 [
00040 object,
00041 uuid(5014B614-9FA6-4abd-897C-0A974E273991),
00042 dual,
00043 oleautomation,
00044 nonextensible,
00045 helpstring("tcomIAttribute Interface"),
00046 pointer_default(unique)
00047 ]
00048 interface tcomIAttribute : IDispatch {
00053 [propget, id(1), helpstring("return name")] HRESULT Name([out, retval] BSTR *pbName);
00054
00059 [propget, id(2), helpstring("return value")] HRESULT Value([out, retval] BSTR *pbValue);
00060
00065 [propput, id(2), helpstring("set value")] HRESULT Value([in] BSTR bValue);
00066 }
00067
00073 [
00074 object,
00075 uuid(81B32863-AB45-4065-B628-0AE82BF731BD),
00076 dual,
00077 oleautomation,
00078 nonextensible,
00079 helpstring("tcomIAttributes Interface"),
00080 pointer_default(unique)
00081 ]
00082 interface tcomIAttributes : IDispatch {
00087 [propget, id(1), helpstring("attributes count")] HRESULT Count([out, retval] VARIANT * count);
00088
00095 [id(0xfffffffc), helpstring("attribute enumerator")] HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
00096
00102 [id(2), helpstring("return item with given index")] HRESULT Item([in] VARIANT *pvaIndex, [out, retval] VARIANT *pvaItem);
00103
00109 [id(12), helpstring("Add attribute")] HRESULT AddAttribute([in] BSTR name, [in] BSTR value,[out, retval] tcomIAttribute **ppAttribute);
00110
00116 [id(13), helpstring("Remove attribute")] HRESULT RemoveAttribute([in] BSTR name);
00117
00118 }
00119
00125 [
00126 object,
00127 uuid(E72785F5-1F02-4a4b-8993-D8D6DBF43FC2),
00128 dual,
00129 oleautomation,
00130 nonextensible,
00131 helpstring("Object Container Interface"),
00132 pointer_default(unique)
00133 ]
00134 interface tcomIViewObjectContainer: IDispatch {
00140 [propget, id(3), helpstring("attributes")] HRESULT Attributes([out, retval] tcomIAttributes **ppAttributes);
00141 }
00142
00148 [
00149 object,
00150 uuid(855D8E7A-0E04-44cf-A482-E7F77E9529FC),
00151 dual,
00152 oleautomation,
00153 nonextensible,
00154 helpstring("Object View Interface"),
00155 pointer_default(unique)
00156 ]
00157 interface tcomIObjectView: IDispatch {
00163 [propget, id(1), helpstring("modified")] HRESULT Modified([out, retval] VARIANT_BOOL *pModified);
00164
00170 [id(2), helpstring("save changes")] HRESULT Save();
00171
00179 [id(3), helpstring("close view")] HRESULT Close();
00180 };
00181
00187 [
00188 object,
00189 uuid(9E05A4D5-920C-42c5-A972-E4807BD020A2),
00190 dual,
00191 oleautomation,
00192 nonextensible,
00193 helpstring("View Object Interface"),
00194 pointer_default(unique)
00195 ]
00196 interface tcomIViewObject: IDispatch {
00201 [propget, id(1), helpstring("document")] HRESULT Parent([out, retval] tcomIViewObjectContainer **ppDocument);
00202
00210 [propget, id(2), helpstring("return mime-type")] HRESULT MimeType([out, retval] BSTR *pbName);
00211 }
00212
00213
00220 [
00221 object,
00222 uuid(FBDA8954-AB84-417d-B1BC-966946864E02),
00223 dual,
00224 oleautomation,
00225 nonextensible,
00226 helpstring("Page Interface"),
00227 pointer_default(unique)
00228 ]
00229 interface tcomIPage: tcomIViewObject {
00235 [id(10), helpstring("return opened oobject")] HRESULT Open([out, retval] IDispatch **ppOvi);
00240 [propget, id(11), helpstring("valid page")] HRESULT ValidData([out, retval] VARIANT_BOOL *pValidData);
00241 }
00242
00249 [
00250 object,
00251 uuid(0E34B7EC-D0B1-4fb8-9B07-68A9649AE8C7),
00252 dual,
00253 oleautomation,
00254 nonextensible,
00255 helpstring("Pages Interface"),
00256 pointer_default(unique)
00257 ]
00258 interface tcomIPages: IDispatch {
00263 [propget, id(1), helpstring("page count")] HRESULT Count([out, retval] VARIANT * count);
00264
00269 [id(0xfffffffc), helpstring("document enumerator")] HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
00270
00276 [id(2), helpstring("return item with given index")] HRESULT Item([in] VARIANT *pvaIndex, [out, retval] VARIANT *pvaItem);
00277 };
00278
00284 [
00285 object,
00286 uuid(299AF503-A24F-4cb9-B376-22F4B36B117C),
00287 dual,
00288 oleautomation,
00289 nonextensible,
00290 helpstring("Document Interface"),
00291 pointer_default(unique)
00292 ]
00293 interface tcomIDocument: tcomIViewObjectContainer {
00298 [propget, id(10), helpstring("repository")] HRESULT Repository([out, retval] IDispatch **ppRepository);
00299
00305 [id(11), helpstring("Add page")] HRESULT AddPage([in] BSTR filePath, [in] BSTR mimeType,[out, retval] tcomIPage **ppPage);
00306
00313 [propget, id(12), helpstring("property documents")] HRESULT Pages([out, retval] IDispatch **ppPages);
00314
00320 [id(13), helpstring("Commit document")] HRESULT Commit();
00321 };
00322
00329 [
00330 object,
00331 uuid(5BDF7BBC-D2EA-4c5a-8E10-A9881AFF6698),
00332 dual,
00333 oleautomation,
00334 nonextensible,
00335 helpstring("tcomIDocuments Interface"),
00336 pointer_default(unique)
00337 ]
00338 interface tcomIDocuments : IDispatch {
00343 [propget, id(1), helpstring("documents count")] HRESULT Count([out, retval] VARIANT * count);
00344
00349 [id(0xfffffffc), helpstring("document enumerator")] HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
00350
00356 [id(2), helpstring("return item with given index")] HRESULT Item([in] VARIANT *pvaIndex, [out, retval] VARIANT *pvaItem);
00357 };
00358
00359
00360
00376 [
00377 object,
00378 uuid(37B73EB5-635F-4464-A9F3-FC9BE0D86590),
00379 dual,
00380 oleautomation,
00381 nonextensible,
00382 helpstring("Document Manager Interface"),
00383 pointer_default(unique)
00384 ]
00385 interface tcomIDocumentManagerComponent: IDispatch {
00390 [propget, id(1), helpstring("domain")] HRESULT Domain([out, retval] IDispatch **ppDomain);
00391
00405 [id(2), helpstring("Create Document")] HRESULT CreateDocument([in] BSTR documentType, [in] VARIANT_BOOL bEditAttributes, [out, retval] tcomIDocument **ppDocument);
00406
00413 [propget, id(3), helpstring("property documents")] HRESULT Documents([out, retval] IDispatch **pDocuments);
00414 };
00415
00416
00427 [
00428 object,
00429 uuid(81B864B5-5BB4-4ec4-B3E0-64265E170F70),
00430 dual,
00431 oleautomation,
00432 nonextensible,
00433 helpstring("Document Input/Output Component"),
00434 pointer_default(unique)
00435 ]
00436 interface tcomIDocumentIOComponent: IDispatch {
00443 [id(1), helpstring("Create Document")] HRESULT CreateDocument([in] long parentWnd, [out, retval] IDispatch **ppDocument);
00444 };
00445
00446
00452 [
00453 object,
00454 uuid(5FCA0B91-C5A0-45be-AD30-B797C61982C4),
00455 dual,
00456 oleautomation,
00457 nonextensible,
00458 helpstring("DomainConfiguration Interface"),
00459 pointer_default(unique)
00460 ]
00461 interface tcomIDomainConfiguration: IDispatch {
00462
00468 [id(1), helpstring("return value")] HRESULT GetValue([in] VARIANT *name, [out, retval] VARIANT *value);
00469
00475 [id(2), helpstring("set value")] HRESULT SetValue([in] VARIANT *name, [in] VARIANT *value);
00476 };
00477
00483 [
00484 object,
00485 uuid(908463AA-641B-4f23-8BA1-9077AAC8B7B6),
00486 dual,
00487 oleautomation,
00488 nonextensible,
00489 helpstring("tcomIComponent Interface"),
00490 pointer_default(unique)
00491 ]
00492 interface tcomIComponent : IDispatch {
00497 [propget, id(1), helpstring("return name")] HRESULT Name([out, retval] BSTR *pbName);
00498
00507 [id(2), helpstring("return component specific interface")] HRESULT GetInterface([out, retval] IDispatch **ppDisp);
00508 };
00509
00510
00524 [
00525 object,
00526 uuid(B2D2FD25-1D43-4034-AA6D-D67656F6CB55),
00527 dual,
00528 oleautomation,
00529 nonextensible,
00530 helpstring("tcomIComponents Interface"),
00531 pointer_default(unique)
00532 ]
00533 interface tcomIComponents : IDispatch {
00538 [propget, id(1), helpstring("properities componets count")] HRESULT Count([out, retval] VARIANT * count);
00539
00544 [id(0xfffffffc), helpstring("component enumerator")] HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
00545
00551 [id(2), helpstring("return item with given index")] HRESULT Item([in] VARIANT *pvaIndex, [out, retval] VARIANT *pvaItem);
00552 }
00553
00559 [
00560 object,
00561 uuid(554B86B2-5DBA-4584-9D52-CA59E3058E87),
00562 dual,
00563 oleautomation,
00564 nonextensible,
00565 helpstring("DomainConfiguration Interface"),
00566 pointer_default(unique)
00567 ]
00568 interface tcomISharedConfiguration: IDispatch {
00569
00575 [id(1), helpstring("return value")] HRESULT GetValue([in] VARIANT *name, [out, retval] VARIANT *value);
00576 };
00577
00583 [
00584 object,
00585 uuid(ED744F70-88EE-49ad-9C56-1ECB5E7C44AC),
00586 dual,
00587 oleautomation,
00588 nonextensible,
00589 helpstring("tcomISharedComponent Interface"),
00590 pointer_default(unique)
00591 ]
00592 interface tcomISharedComponent : IDispatch {
00597 [propget, id(1), helpstring("return name")] HRESULT Name([out, retval] BSTR *pbName);
00598
00607 [id(2), helpstring("return component specific interface")] HRESULT GetInterface([out, retval] IDispatch **ppDisp);
00608 };
00609
00622 [
00623 object,
00624 uuid(94907F27-6649-4a1b-B1F9-7C688070A992),
00625 dual,
00626 oleautomation,
00627 nonextensible,
00628 helpstring("tcomISharedComponents Interface"),
00629 pointer_default(unique)
00630 ]
00631 interface tcomISharedComponents : IDispatch {
00636 [propget, id(1), helpstring("properities componets count")] HRESULT Count([out, retval] VARIANT * count);
00637
00642 [id(0xfffffffc), helpstring("component enumerator")] HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
00643
00649 [id(2), helpstring("return item with given index")] HRESULT Item([in] VARIANT *pvaIndex, [out, retval] VARIANT *pvaItem);
00650 }
00651
00657 [
00658 object,
00659 uuid(08C6ECEB-DB14-43ce-876E-D7C1E49F63F6),
00660 dual,
00661 oleautomation,
00662 nonextensible,
00663 helpstring("tcomIProfile Interface"),
00664 pointer_default(unique)
00665 ]
00666 interface tcomIProfile : IDispatch {
00671 [propget, helpstring("return id")] HRESULT Id([out, retval] BSTR *pbId);
00672
00677 [propget, helpstring("return name")] HRESULT Name([out, retval] BSTR *pbName);
00678
00683 [propget, helpstring("return visible status")] HRESULT Visible([out, retval] VARIANT_BOOL *pbVisible);
00684
00690 [helpstring("Activate this profile")] HRESULT Activate();
00691
00698 [helpstring("Activate this profile")] HRESULT Restore();
00699 };
00700
00701
00713 [
00714 object,
00715 uuid(0EFB0DC7-664E-41b1-BAED-025818825FB4),
00716 dual,
00717 oleautomation,
00718 nonextensible,
00719 helpstring("tcomIProfiles Interface"),
00720 pointer_default(unique)
00721 ]
00722 interface tcomIProfiles : IDispatch {
00727 [propget, id(1), helpstring("profiles count")] HRESULT Count([out, retval] VARIANT * count);
00728
00733 [id(0xfffffffc), helpstring("profile enumerator")] HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
00734
00740 [id(2), helpstring("return item with given index")] HRESULT Item([in] VARIANT *pvaIndex, [out, retval] VARIANT *pvaItem);
00741
00748 [propget, helpstring("return active profile")] HRESULT Active([out, retval] IDispatch **ppProfile);
00749 }
00750
00751
00757 [
00758 object,
00759 uuid(9D3A1F9F-8D6A-485c-B03D-1542F723B29D),
00760 dual,
00761 oleautomation,
00762 nonextensible,
00763 helpstring("tcomIFrame Interface"),
00764 pointer_default(unique)
00765 ]
00766 interface tcomIFrame: IDispatch {
00770 [id(1), helpstring("Activate frame")] HRESULT Activate();
00778 [propget, helpstring("return/set visibility of frame")] HRESULT Visible([out, retval] VARIANT_BOOL *visible);
00779
00785 [propput, helpstring("return/set visibility of login dialog")] HRESULT Visible([in] VARIANT_BOOL visible);
00786
00794 [propget, helpstring("return profiles")] HRESULT Profiles([out, retval] tcomIProfiles **ppProfiles);
00795 }
00796
00797
00811 [
00812 object,
00813 uuid(A1865BA9-C27D-4294-B26B-1887B93D0153),
00814 dual,
00815 oleautomation,
00816 nonextensible,
00817 helpstring("tcomIDomain Interface"),
00818 pointer_default(unique)
00819 ]
00820 interface tcomIDomain: IDispatch {
00827 [propget, id(1), helpstring("return configuration")] HRESULT Configuration([out, retval] IDispatch **pDispConfig);
00828
00837 [propget, id(2), helpstring("return status")] HRESULT Status([out, retval] VARIANT *pStatus);
00838
00848 [id(3), helpstring("Deactivate")] HRESULT Deactivate();
00849
00862 [id(4), helpstring("Activate domain")] HRESULT Activate([in] VARIANT *userName, [in] VARIANT *password, [in] VARIANT *mode, [out,retval] VARIANT *status);
00863
00870 [propget, id(5), helpstring("property components")] HRESULT Components([out, retval] IDispatch **pComponents);
00871
00877 [propget, id(6), helpstring("property components")] HRESULT Application([out, retval] tcomIApplication **pApplication);
00878
00885 [propget, id(7), helpstring("return main frame")] HRESULT MainFrame([out, retval] IDispatch **ppFrame);
00886
00892 [propget, id(8), helpstring("return connected status")] HRESULT Connected([out, retval] VARIANT_BOOL *status);
00893
00899 [id(9), helpstring("connect domain to server")] HRESULT Connect([out, retval] VARIANT_BOOL *status);
00900
00901
00902 };
00903
00917 [
00918 object,
00919 uuid(BA031138-2E75-4b50-AD4A-AE4EE3178149),
00920 dual,
00921 oleautomation,
00922 nonextensible,
00923 helpstring("tcomIDomains Interface"),
00924 pointer_default(unique)
00925 ]
00926 interface tcomIDomains : IDispatch {
00933 [propget, id(1), helpstring("properities domains count")] HRESULT Count([out, retval] VARIANT * count);
00934
00944 [id(2), helpstring("return item with given index")] HRESULT Item([in] VARIANT *index, [out, retval] VARIANT *pvaItem);
00945
00952 [id(3), helpstring("Select domain")] HRESULT SelectDomain([in] long parentWnd, [out, retval] VARIANT *pvaItem);
00953
00960 [id(0xfffffffc), helpstring("domain enumerator")] HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
00961 };
00962
00968 [
00969 object,
00970 uuid(E93E0DF5-337A-4e99-BA37-B0D7F75D0C88),
00971 dual,
00972 oleautomation,
00973 nonextensible,
00974 helpstring("tcomILoginDialog Interface"),
00975 pointer_default(unique)
00976 ]
00977 interface tcomILoginDialog : IDispatch {
00985 [propget, helpstring("return/set visibility of login dialog")] HRESULT Visible([out, retval] VARIANT_BOOL *visible);
00986
00992 [propput, helpstring("return/set visibility of login dialog")] HRESULT Visible([in] VARIANT_BOOL visible);
00993
01000 [propput, helpstring("select domain")] HRESULT ActiveDomain([in] BSTR domainName);
01001 }
01002
01016 [
01017 object,
01018 uuid(3988A18E-60BC-4875-90E4-CD16CFD9BA0D),
01019 dual,
01020 nonextensible,
01021 helpstring("tcomIPackageOle Interface"),
01022 pointer_default(unique)
01023 ]
01024 interface tcomIPackageOle : IDispatch{
01032 [propget, id(1), helpstring("property document")] HRESULT Document([out, retval] IDispatch** pVal);
01033
01039 [propget, id(2), helpstring("property directory")] HRESULT Directory([out, retval] BSTR* pVal);
01040
01054 [propget, id(3), helpstring("property source")] HRESULT Source([out, retval] tcomIViewObject** pVal);
01055
01060 [propget, id(4), helpstring("domain")] HRESULT Domain([out, retval] tcomIDomain **ppDomain);
01061
01062 };
01063
01064
01065
01073 [
01074 object,
01075 uuid(A7003131-C75E-4523-9772-A4F1D44DBE65),
01076 dual,
01077 oleautomation,
01078 nonextensible,
01079 helpstring("tcomIApplication Interface"),
01080 pointer_default(unique)
01081 ]
01082 interface tcomIApplication : IDispatch {
01087 [propget, id(1), helpstring("method GetVersion")] HRESULT Version([out, retval] BSTR* version);
01088
01095 [propget, id(2), helpstring("property domains")] HRESULT Domains([out, retval] IDispatch **pDomains);
01096
01104 [propget, id(3), helpstring("property components")] HRESULT Components([out, retval] IDispatch **ppComponents);
01105
01111 [propget, id(4), helpstring("property configuration")] HRESULT Configuration([out, retval] IDispatch **ppConfiguration);
01112
01113
01119 [propget, id(5), helpstring("property login dialog")] HRESULT LoginDialog([out, retval] IDispatch **ppLoginDialog);
01120
01143 [id(6), helpstring("Message Box")] HRESULT MsgBox([in] tcomIFrame *pParentFrame,
01144 [in] long type, [in] BSTR message, [in] BSTR detail, [out, retval] VARIANT *pvaItem);
01145
01146 };
01147
01148
01155 [
01156 uuid(A8B796CA-6D50-4c7e-9C84-18984CAE5C87),
01157 helpstring("tcomIDomainListener dispinterface")
01158 ]
01159 dispinterface tcomIDomainListener {
01160 properties:
01161 methods:
01165 [id(100)] HRESULT OnDomainCreated([in] IDispatch *pDomain);
01166
01170 [id(101)] HRESULT OnDomainRemoved([in] IDispatch *pDomain);
01171
01175 [id(102)] HRESULT OnDomainStateChanged([in] IDispatch *pDomain);
01176
01180 [id(103)] HRESULT OnDomainConfigurationChanged([in] IDispatch *pDomain);
01181 };
01182
01183
01184 [
01185 uuid(7860A07D-B087-4AF7-ADF5-88403ADA0388),
01186 helpstring("TahitiAutom_Application Class")
01187 ]
01188 coclass Application
01189 {
01190 [default] interface tcomIApplication;
01191 [default,source] dispinterface tcomIDomainListener;
01192 };
01193
01194 };