RealOAMessenger_TLB.pas 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. unit RealOAMessenger_TLB;
  2. // ************************************************************************ //
  3. // WARNING
  4. // -------
  5. // The types declared in this file were generated from data read from a
  6. // Type Library. If this type library is explicitly or indirectly (via
  7. // another type library referring to this type library) re-imported, or the
  8. // 'Refresh' command of the Type Library Editor activated while editing the
  9. // Type Library, the contents of this file will be regenerated and all
  10. // manual modifications will be lost.
  11. // ************************************************************************ //
  12. // PASTLWTR : 1.2
  13. // File generated on 2006-6-29 21:36:03 from Type Library described below.
  14. // ************************************************************************ //
  15. // Type Lib: E:\RealICQ Projects For Win32\COM\RealOAMessenger\RealOAMessenger.tlb (1)
  16. // LIBID: {073821AC-394D-42D2-BCA8-302A10C0ED3F}
  17. // LCID: 0
  18. // Helpfile:
  19. // HelpString: RealOAMessenger Library
  20. // DepndLst:
  21. // (1) v2.0 stdole, (C:\WINDOWS\system32\stdole2.tlb)
  22. // ************************************************************************ //
  23. {$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
  24. {$WARN SYMBOL_PLATFORM OFF}
  25. {$WRITEABLECONST ON}
  26. {$VARPROPSETTER ON}
  27. interface
  28. uses Windows, ActiveX, Classes, Graphics, StdVCL, Variants;
  29. // *********************************************************************//
  30. // GUIDS declared in the TypeLibrary. Following prefixes are used:
  31. // Type Libraries : LIBID_xxxx
  32. // CoClasses : CLASS_xxxx
  33. // DISPInterfaces : DIID_xxxx
  34. // Non-DISP interfaces: IID_xxxx
  35. // *********************************************************************//
  36. const
  37. // TypeLibrary Major and minor versions
  38. RealOAMessengerMajorVersion = 1;
  39. RealOAMessengerMinorVersion = 0;
  40. LIBID_RealOAMessenger: TGUID = '{073821AC-394D-42D2-BCA8-302A10C0ED3F}';
  41. IID_IMessageSender: TGUID = '{2F15F50A-8B00-4E45-9FEA-348444426289}';
  42. DIID_IMessageSenderEvents: TGUID = '{C11DF95E-32ED-40A2-AC1A-AA1CC4F2F29A}';
  43. CLASS_MessageSender: TGUID = '{496943DC-E2AB-4DE5-A8FC-7A11A1CF654D}';
  44. type
  45. // *********************************************************************//
  46. // Forward declaration of types defined in TypeLibrary
  47. // *********************************************************************//
  48. IMessageSender = interface;
  49. IMessageSenderDisp = dispinterface;
  50. IMessageSenderEvents = dispinterface;
  51. // *********************************************************************//
  52. // Declaration of CoClasses defined in Type Library
  53. // (NOTE: Here we map each CoClass to its Default Interface)
  54. // *********************************************************************//
  55. MessageSender = IMessageSender;
  56. // *********************************************************************//
  57. // Interface: IMessageSender
  58. // Flags: (4416) Dual OleAutomation Dispatchable
  59. // GUID: {2F15F50A-8B00-4E45-9FEA-348444426289}
  60. // *********************************************************************//
  61. IMessageSender = interface(IDispatch)
  62. ['{2F15F50A-8B00-4E45-9FEA-348444426289}']
  63. function Get_ServerAddress: OleVariant; safecall;
  64. procedure Set_ServerAddress(Value: OleVariant); safecall;
  65. function Get_ServerPort: OleVariant; safecall;
  66. procedure Set_ServerPort(Value: OleVariant); safecall;
  67. function Get_ProxyType: OleVariant; safecall;
  68. procedure Set_ProxyType(Value: OleVariant); safecall;
  69. function Get_ProxyAddress: OleVariant; safecall;
  70. procedure Set_ProxyAddress(Value: OleVariant); safecall;
  71. function Get_ProxyPort: OleVariant; safecall;
  72. procedure Set_ProxyPort(Value: OleVariant); safecall;
  73. function Get_ProxyUsername: OleVariant; safecall;
  74. procedure Set_ProxyUsername(Value: OleVariant); safecall;
  75. function Get_ProxyPassword: OleVariant; safecall;
  76. procedure Set_ProxyPassword(Value: OleVariant); safecall;
  77. function Get_ProxyDomain: OleVariant; safecall;
  78. procedure Set_ProxyDomain(Value: OleVariant); safecall;
  79. function Get_Username: OleVariant; safecall;
  80. procedure Set_Username(Value: OleVariant); safecall;
  81. function Get_Password: OleVariant; safecall;
  82. procedure Set_Password(Value: OleVariant); safecall;
  83. procedure SendSystemMessage(MessageType: OleVariant; AutoOpenWindow: OleVariant;
  84. Position: OleVariant; Left: OleVariant; Top: OleVariant;
  85. Width: OleVariant; Height: OleVariant; Title: OleVariant;
  86. Content: OleVariant; Url: OleVariant; AutoCloseTime: OleVariant;
  87. Users: OleVariant); safecall;
  88. property ServerAddress: OleVariant read Get_ServerAddress write Set_ServerAddress;
  89. property ServerPort: OleVariant read Get_ServerPort write Set_ServerPort;
  90. property ProxyType: OleVariant read Get_ProxyType write Set_ProxyType;
  91. property ProxyAddress: OleVariant read Get_ProxyAddress write Set_ProxyAddress;
  92. property ProxyPort: OleVariant read Get_ProxyPort write Set_ProxyPort;
  93. property ProxyUsername: OleVariant read Get_ProxyUsername write Set_ProxyUsername;
  94. property ProxyPassword: OleVariant read Get_ProxyPassword write Set_ProxyPassword;
  95. property ProxyDomain: OleVariant read Get_ProxyDomain write Set_ProxyDomain;
  96. property Username: OleVariant read Get_Username write Set_Username;
  97. property Password: OleVariant read Get_Password write Set_Password;
  98. procedure OnStartPage(const unk: IUnknown); safecall;
  99. procedure OnEndPage; safecall;
  100. end;
  101. // *********************************************************************//
  102. // DispIntf: IMessageSenderDisp
  103. // Flags: (4416) Dual OleAutomation Dispatchable
  104. // GUID: {2F15F50A-8B00-4E45-9FEA-348444426289}
  105. // *********************************************************************//
  106. IMessageSenderDisp = dispinterface
  107. ['{2F15F50A-8B00-4E45-9FEA-348444426289}']
  108. property ServerAddress: OleVariant dispid 201;
  109. property ServerPort: OleVariant dispid 202;
  110. property ProxyType: OleVariant dispid 203;
  111. property ProxyAddress: OleVariant dispid 204;
  112. property ProxyPort: OleVariant dispid 205;
  113. property ProxyUsername: OleVariant dispid 206;
  114. property ProxyPassword: OleVariant dispid 207;
  115. property ProxyDomain: OleVariant dispid 208;
  116. property Username: OleVariant dispid 209;
  117. property Password: OleVariant dispid 210;
  118. procedure SendSystemMessage(MessageType: OleVariant; AutoOpenWindow: OleVariant;
  119. Position: OleVariant; Left: OleVariant; Top: OleVariant;
  120. Width: OleVariant; Height: OleVariant; Title: OleVariant;
  121. Content: OleVariant; Url: OleVariant; AutoCloseTime: OleVariant;
  122. Users: OleVariant); dispid 211;
  123. procedure OnStartPage(const unk: IUnknown); dispid 212;
  124. procedure OnEndPage; dispid 213;
  125. end;
  126. // *********************************************************************//
  127. // DispIntf: IMessageSenderEvents
  128. // Flags: (4096) Dispatchable
  129. // GUID: {C11DF95E-32ED-40A2-AC1A-AA1CC4F2F29A}
  130. // *********************************************************************//
  131. IMessageSenderEvents = dispinterface
  132. ['{C11DF95E-32ED-40A2-AC1A-AA1CC4F2F29A}']
  133. end;
  134. // *********************************************************************//
  135. // The Class CoMessageSender provides a Create and CreateRemote method to
  136. // create instances of the default interface IMessageSender exposed by
  137. // the CoClass MessageSender. The functions are intended to be used by
  138. // clients wishing to automate the CoClass objects exposed by the
  139. // server of this typelibrary.
  140. // *********************************************************************//
  141. CoMessageSender = class
  142. class function Create: IMessageSender;
  143. class function CreateRemote(const MachineName: string): IMessageSender;
  144. end;
  145. implementation
  146. uses ComObj;
  147. class function CoMessageSender.Create: IMessageSender;
  148. begin
  149. Result := CreateComObject(CLASS_MessageSender) as IMessageSender;
  150. end;
  151. class function CoMessageSender.CreateRemote(const MachineName: string): IMessageSender;
  152. begin
  153. Result := CreateRemoteComObject(MachineName, CLASS_MessageSender) as IMessageSender;
  154. end;
  155. end.