123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- unit AppCentreCom_TLB;
- // ************************************************************************ //
- // WARNING
- // -------
- // The types declared in this file were generated from data read from a
- // Type Library. If this type library is explicitly or indirectly (via
- // another type library referring to this type library) re-imported, or the
- // 'Refresh' command of the Type Library Editor activated while editing the
- // Type Library, the contents of this file will be regenerated and all
- // manual modifications will be lost.
- // ************************************************************************ //
- // $Rev: 8291 $
- // File generated on 2016/4/8 16:01:00 from Type Library described below.
- // ************************************************************************ //
- // Type Lib: D:\DelphiProjects\IMClient-Root-LQQ\AppCom\AppCentreCom.tlb (1)
- // LIBID: {8C503EEC-E038-4773-A802-BF691D519B4E}
- // LCID: 0
- // Helpfile:
- // HelpString: Ó¦ÓÃÖÐÐĽӿÚ
- // DepndLst:
- // (1) v2.0 stdole, (C:\Windows\System32\stdole2.tlb)
- // ************************************************************************ //
- {$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
- {$WARN SYMBOL_PLATFORM OFF}
- {$WRITEABLECONST ON}
- {$VARPROPSETTER ON}
- interface
- uses Windows, ActiveX, Classes, Graphics, StdVCL, Variants;
-
- // *********************************************************************//
- // GUIDS declared in the TypeLibrary. Following prefixes are used:
- // Type Libraries : LIBID_xxxx
- // CoClasses : CLASS_xxxx
- // DISPInterfaces : DIID_xxxx
- // Non-DISP interfaces: IID_xxxx
- // *********************************************************************//
- const
- // TypeLibrary Major and minor versions
- AppCentreComMajorVersion = 1;
- AppCentreComMinorVersion = 0;
- LIBID_AppCentreCom: TGUID = '{8C503EEC-E038-4773-A802-BF691D519B4E}';
- IID_ILXTAppCentreCom: TGUID = '{FC989AE3-8C04-49C9-9628-DD62A8A53BD1}';
- CLASS_LXTAppCentreCom: TGUID = '{B1461301-5B24-4403-ABCA-07D8950C86ED}';
- type
- // *********************************************************************//
- // Forward declaration of types defined in TypeLibrary
- // *********************************************************************//
- ILXTAppCentreCom = interface;
- // *********************************************************************//
- // Declaration of CoClasses defined in Type Library
- // (NOTE: Here we map each CoClass to its Default Interface)
- // *********************************************************************//
- LXTAppCentreCom = ILXTAppCentreCom;
- // *********************************************************************//
- // Interface: ILXTAppCentreCom
- // Flags: (256) OleAutomation
- // GUID: {FC989AE3-8C04-49C9-9628-DD62A8A53BD1}
- // *********************************************************************//
- ILXTAppCentreCom = interface(IUnknown)
- ['{FC989AE3-8C04-49C9-9628-DD62A8A53BD1}']
- function RegisterInstallationDirectory(AAppKey: PChar; ADir: PChar): SYSINT; stdcall;
- function GetInstallationDirectory(AAppKey: PChar): PChar; stdcall;
- function Authenticate(AAuthURL: PChar; AAppSecret: PChar): PChar; stdcall;
- end;
- // *********************************************************************//
- // The Class CoLXTAppCentreCom provides a Create and CreateRemote method to
- // create instances of the default interface ILXTAppCentreCom exposed by
- // the CoClass LXTAppCentreCom. The functions are intended to be used by
- // clients wishing to automate the CoClass objects exposed by the
- // server of this typelibrary.
- // *********************************************************************//
- CoLXTAppCentreCom = class
- class function Create: ILXTAppCentreCom;
- class function CreateRemote(const MachineName: string): ILXTAppCentreCom;
- end;
- implementation
- uses ComObj;
- class function CoLXTAppCentreCom.Create: ILXTAppCentreCom;
- begin
- Result := CreateComObject(CLASS_LXTAppCentreCom) as ILXTAppCentreCom;
- end;
- class function CoLXTAppCentreCom.CreateRemote(const MachineName: string): ILXTAppCentreCom;
- begin
- Result := CreateRemoteComObject(MachineName, CLASS_LXTAppCentreCom) as ILXTAppCentreCom;
- end;
- end.
|