home *** CD-ROM | disk | FTP | other *** search
- // GXTIES70.idl : IDL source for GXTIES80.dll
- //
-
- // This file will be processed by the MIDL tool to
- // produce the type library (GXTIES80.tlb) and marshalling code.
-
- import "oaidl.idl";
- import "ocidl.idl";
- import "imsigx.idl";
-
- typedef enum
- {
- imsiTieTreatment = 1 << 1
- ,imsiTieDirty = 1 << 2
- ,imsiTieWasted = 1 << 3
- // ,imsiTiePriority = 1 << 4
- ,imsiTieAll = imsiTieTreatment | imsiTieDirty | imsiTieWasted
- } imsiTieFlag;
-
-
- /**
- * An object that describe custom Tie betwween Graphics objects.
- */
- [
- object
- ,uuid(6A481147-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x11000000)
- ,helpstring("An object that maintains Smart Tie betwween Graphics objects.")
- ]
- interface Tie : IDispatch
- {
- /*//////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
-
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x11000001)
- ,helpstring("Returns an Application object that represents the creator of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns an Drawing object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x11000002)
- ,helpstring("Returns an Application object that represents the creator of the specified object.")
- ]
- HRESULT Drawing(
- [out, retval] IDrawing** prop // The Drawing object.
- );
-
- /**
- * Returns an TieSet object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x11000003)
- ,helpstring("Returns the Parent object that owns the object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The TieSet object.
- );
-
- [
- propget
- ,helpcontext(0x11000004)
- ,helpstring("Returns ID of the TieMethod for ITie object.")
- ]
- HRESULT Name(
- [out, retval] BSTR* prop
- );
-
- [
- propget
- ,helpcontext(0x11000005)
- ,helpstring("Returns priority of a ITie object.")
- ]
- HRESULT Priority(
- [out, retval] double* pdblVal
- );
-
- [
- propput
- ,helpcontext(0x11000005)
- ,helpstring("Set priority of a ITie object.")
- ]
- HRESULT Priority(
- [in] double dblVal
- );
-
- [
- propget
- ,helpcontext(0x11000006)
- ,helpstring("Gets the TieMethod specific data of a ITie object.")
- ]
- HRESULT Data(
- [out, retval] VARIANT* pvarData
- );
-
- [
- propput
- ,helpcontext(0x11000006)
- ,helpstring("Sets the TieMethod specific data of a ITie object.")
- ]
- HRESULT Data(
- [in] VARIANT* varData
- );
-
- };
-
- [
- object
- ,uuid(6A481148-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x11010000)
- ,helpstring("An object that maintains TieSets collection.")
- ]
- interface TieSet : IDispatch
- {
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x11010001),
- ,helpstring("Returns an Application object that represents the creator of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns an Drawing object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x11010002)
- ,helpstring("Returns the Drawing object that owns the object.")
- ]
- HRESULT Drawing(
- [out, retval] IDrawing** prop // The Drawing object.
- );
-
- /**
- * Returns an TieSets object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x11010003)
- ,helpstring("Returns the Parent object that owns the object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The Drawing object.
- );
-
- [
- propget
- ,helpcontext(0x11010004),
- ,helpstring("Returns the Subject Graphic object of the set.")
- ]
- HRESULT Subject(
- [out, retval] IDispatch** ppIDispGr
- );
-
- [
- propget
- ,helpcontext(0x11010005),
- ,helpstring("Returns the Subject Graphic object of the set.")
- ]
- HRESULT Subordinate(
- [out, retval] IDispatch** pIDispGr
- );
-
- [
- propget
- ,helpcontext(0x11010006)
- ,helpstring("Returns the Flags of the set.")
- ]
- HRESULT Flag(
- [in] imsiTieFlag FlagMask,
- [out, retval] BOOL *pbFlag
- );
-
- [
- propput
- ,helpcontext(0x11010006)
- ,helpstring("Sets the Flags of the set.")
- ]
- HRESULT Flag(
- [in] imsiTieFlag FlagMask,
- [in] BOOL bFlag
- );
- [
- propget
- ,helpcontext(0x11010007)
- ,helpstring("Returns the Flags of the set.")
- ]
-
- HRESULT Flags(
- [out, retval] imsiTieFlag *pFlags
- );
- [
- propput
- ,helpcontext(0x11010007)
- ,helpstring("Sets the Flags of the set.")
- ]
- HRESULT Flags(
- [in] imsiTieFlag Flags
- );
-
- [
- propget
- ,helpcontext(0x11010008)
- ,helpstring("Returns the count of ties in the set.")
- ]
-
- HRESULT Count(
- [out, retval] long *plCount
- );
-
- /**
- * Returns part of a set.
- */
- [
- propget
- ,id(DISPID_VALUE)
- ,helpcontext(0x11010009)
- ,helpstring("Returns part of a set.")
- ]
- HRESULT Item(
- [in] long Index, // Zero-based Index of item to return.
- [out, retval] Tie** prop // The item.
- );
-
- /**
- * Add Tie to TieSet
- */
- [
- helpcontext(0x1101000A)
- ,helpstring("Add Tie to the TieSet")
- ]
- HRESULT AddTie(
- [in] VARIANT* pvarTM,
- [in] double dblPriority,
- [in] VARIANT* pvarData,
- [out, retval] Tie** pTie
- );
-
- /**
- * Delete TieSet
- */
- [
- helpcontext(0x1101000B)
- ,helpstring("Delete TieSet")
- ]
- HRESULT Delete(
- );
- };
-
- [
- object
- ,uuid(6A481149-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x11020000)
- ,helpstring("An object that maintains TieSets collection.")
- ]
- interface TieSets : IDispatch
- {
- /*//////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
-
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x11020001)
- ,helpstring("Returns an Application object that represents the creator of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns the number of items in the collection.
- */
- [
- propget
- ,helpcontext(0x11020002)
- ,helpstring("Returns the number of items in the collection.")
- ]
- HRESULT Count(
- [out, retval] long* prop // The number of items.
- );
-
- /**
- * Returns part of a collection.
- */
- [
- propget
- ,helpcontext(0x11020003)
- ,helpstring("Returns part of a collection.")
- ]
- HRESULT TieSet(
- [in] VARIANT* varSbj, // ID / Dispatch of Subject Graphic.
- [in] VARIANT* varSbd, // ID / Dispatch of Subordinate Graphic
- [out, retval] TieSet** prop // The TieSet item.
- );
-
- /**
- * Returns part of a collection.
- */
- [
- propget
- ,id(DISPID_VALUE)
- ,helpcontext(0x11020004)
- ,helpstring("Returns part of a collection.")
- ]
- HRESULT Item(
- [in] VARIANT* varInd, // zero-index of the item to return
- [out, retval] TieSet** prop // The TieSet item.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x11020005),
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x11020006),
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Drawing(
- [out, retval] IDrawing** prop // The parent object.
- );
-
- /**
- * Creates an enumeration object.
- */
- [
- propget
- ,restricted
- ,id(DISPID_NEWENUM)
- ,helpcontext(0x11020007)
- ,helpstring("Private. Creates an enumeration object.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** prop // The enumeration object.
- );
-
- /*////////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
-
- /**
- * Adds one TieSet objects to the collection.
- */
- [
- helpcontext(0x11020008)
- ,helpstring("Adds one or more RegenMethod objects to the collection.")
- ]
- HRESULT Add(
- [in] VARIANT* pvarTieName, // Id of connection name (tie method name)
-
- [in] IGraphic* pIGr1,
- [in] IGraphic* pIGr2,
- [in] long lFlg,
- [in] BOOL bWasted,
- [out, retval] TieSet** TieAdded // Tie object added.
- );
-
- };
-
- /**
- * An object that maintains custom TieMethod for Graphics objects.
- */
- [
- object
- ,uuid(6A48114A-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x11030000)
- ,helpstring("An object that maintains custom Tie betwween Graphics objects.")
- ]
- interface TieMethod : IDispatch
- {
- /*//////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
-
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x11030001)
- ,helpstring("Returns an Application object that represents the creator of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns a description of the specified object, as a string.
- */
- [
- propget
- ,helpcontext(0x11030002)
- ,helpstring("Returns a description of the specified object, as a string.")
- ]
- HRESULT Description(
- [out, retval] BSTR* prop // A string describing the object.
- );
-
- /**
- * Returns the index of the item in the collection.
- */
- [
- propget
- ,helpcontext(0x11030003)
- ,helpstring("Returns the index of the item in the collection.")
- ]
- HRESULT Index(
- [out, retval] long* prop // The index.
- );
-
- /**
- * Returns the name of the object, as a string.
- */
- [
- propget
- ,helpcontext(0x11030004)
- ,helpstring("Returns the name of the object, as a string.")
- ]
- HRESULT Name(
- [out, retval] BSTR* prop // The name of the object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x11030005)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /**
- * Returns a Properties collection of the properties supported by the RegenMethod object.
- */
- [
- propget
- ,helpcontext(0x11030006)
- ,helpstring("Returns a array of Kinds of the ties supported by the TieMethod object.")
- ,hidden, restricted
- ]
- HRESULT Kinds(
- [in, out] VARIANT* kinds // The kinds arry.
- );
-
- /**
- * Returns the type of the RegenMethod object.
- */
- [
- propget
- ,helpcontext(0x11030007)
- ,helpstring("Returns the type of the TieMethod object.")
- ]
- HRESULT Type(
- [out, retval] ImsiExtSrvType* prop // The type of the TieMethod object.
- );
-
- /**
- * Returns the internal table entry ID.
- * Private.
- */
- [
- propget
- ,restricted
- ,helpcontext(0x11030008)
- ,helpstring("Private. Returns the internal table entry ID.")
- ]
- HRESULT _TableEntryID(
- [out, retval] long* prop // The table entry ID.
- );
-
- /*////////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
-
- /**
- * Deletes the object.
- */
- [
- helpcontext(0x11030009)
- ,helpstring("Deletes the object.")
- ,hidden, restricted
- ]
- HRESULT Delete(
- );
-
- };
-
- /**
- * A collection of TegenMethod objects.
- */
- [
- object
- ,uuid(6A48114B-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x11040000)
- ,helpstring("A collection of TieMethod objects.")
- ]
- interface TieMethods : IDispatch
- {
-
- /*//////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
-
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x11040001)
- ,helpstring("Returns an Application object that represents the creator of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns the number of items in the collection.
- */
- [
- propget
- ,helpcontext(0x11040002)
- ,helpstring("Returns the number of items in the collection.")
- ]
- HRESULT Count(
- [out, retval] long* prop // The number of items.
- );
-
- /**
- * Returns part of a collection.
- */
- [
- propget
- ,id(DISPID_VALUE)
- ,helpcontext(0x11040003)
- ,helpstring("Returns part of a collection.")
- ]
- HRESULT Item(
- [in] VARIANT* Index, // Index of item to return.
- [out, retval] TieMethod** prop // The item.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x11040004)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /**
- * Creates an enumeration object.
- */
- [
- propget
- ,restricted
- ,id(DISPID_NEWENUM)
- ,helpcontext(0x11040005)
- ,helpstring("Private. Creates an enumeration object.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** prop // The enumeration object.
- );
-
- /*////////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
-
- /**
- * Adds one or more RegenMethod objects to the collection.
- */
- [
- helpcontext(0x11040006)
- ,helpstring("Adds one or more RegenMethod objects to the collection.")
- ,hidden, restricted
- ]
- HRESULT Add(
- [in] BSTR FileName, // The file containing the TieMethod objects.
- [in, out, optional] VARIANT* TieMethodsAdded // An array of TieMethod objects added.
- );
-
- /**
- * Returns the index within the table collection of the specified table entry.
- * Private.
- */
- [
- restricted
- ,helpcontext(0x11040007)
- ,helpstring("Private. Returns the index within the table collection of the specified table entry.")
- ]
- HRESULT _FindIndex(
- [in] long TableEntryID, // The internal table ID.
- [out, retval] long* prop // The zero based index.
- );
-
- /**
- * Returns an object from the table collection for the specified table entry.
- * Private.
- */
- [
- restricted
- ,helpcontext(0x11040008)
- ,helpstring("Private. Returns an object from the table collection for the specified table entry.")
- ]
- HRESULT _ObjectFromID(
- [in] long TableEntryID, // The internal table ID.
- [out, retval] TieMethod** prop // The object.
- );
- };
- [
- uuid(6A481404-E531-11CF-A115-00A024158DAF)
- ,version(8.0)
- ,helpfile("tcsdk.chm")
- ,helpstring("GXTIES 8.0 Type Library")
- ]
- library GXTIESLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- importlib("..\include\imsigx.tlb");
-
- [uuid(6A48180A-E531-11CF-A115-00A024158DAF),
- hidden,
- helpcontext(0x11050000),
- helpstring("The TurboCAD TieMethods collection.")]
- coclass XTieMethods
- {
- [default] interface TieMethods;
- }
-
- [uuid(6A48180B-E531-11CF-A115-00A024158DAF),
- hidden,
- helpcontext(0x11060000),
- helpstring("The TurboCAD TieSets collection.")]
- coclass XTieSets
- {
- [default] interface TieSets;
- }
-
- };
-