📄 exoduscom_tlb.pas
字号:
unit ExodusCOM_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.
// ************************************************************************ //
// PASTLWTR : 1.2
// File generated on 2/24/2006 12:02:48 PM from Type Library described below.
// ************************************************************************ //
// Type Lib: D:\src\exodus\exodus\Exodus.tlb (1)
// LIBID: {85AA8EC3-C4AB-460B-828D-584AD1A44A2A}
// LCID: 0
// Helpfile:
// HelpString: Exodus COM Plugin interfaces
// DepndLst:
// (1) v2.0 stdole, (C:\WINNT\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
ExodusCOMMajorVersion = 1;
ExodusCOMMinorVersion = 0;
LIBID_ExodusCOM: TGUID = '{85AA8EC3-C4AB-460B-828D-584AD1A44A2A}';
IID_IExodusController: TGUID = '{808426B8-8C56-49FD-AE15-5D91DE1DE5EF}';
CLASS_ExodusController: TGUID = '{E89B1EBA-8CF8-4A00-B15D-18149A0FA830}';
IID_IExodusChat: TGUID = '{DA56D31B-1D1D-4F33-A04E-E28611E3011E}';
CLASS_ExodusChat: TGUID = '{80A3C1AA-71CA-4504-9A81-EE29F91C63C3}';
IID_IExodusPlugin: TGUID = '{DCDFAD67-6CB2-4202-B29C-50D633C02596}';
IID_IExodusChatPlugin: TGUID = '{2C576B16-DD6A-4E8C-8DEB-38E255B48A88}';
IID_IExodusRoster: TGUID = '{29B1C26F-2F13-47D8-91C4-A4A5AC43F4A9}';
CLASS_ExodusRoster: TGUID = '{438DF52E-F892-456B-9FB0-3C64DBB85240}';
IID_IExodusPPDB: TGUID = '{284E49F2-2006-4E48-B0E0-233867A78E54}';
CLASS_ExodusPPDB: TGUID = '{41BB1EC9-3299-45C3-BBA9-7DD897F29826}';
IID_IExodusRosterItem: TGUID = '{F710F80C-C74A-4A69-8D2B-023504125B96}';
CLASS_ExodusRosterItem: TGUID = '{9C6A0965-39B0-4D72-A143-D210FB1BA988}';
IID_IExodusPresence: TGUID = '{D2FD3425-40CE-469F-A95C-1C80B7FF3119}';
CLASS_ExodusPresence: TGUID = '{B9EED6FA-AB95-48CA-B485-1AF7E3CC0D0B}';
IID_IExodusAuth: TGUID = '{D33EA5B9-23FD-4E43-B5B7-3CCFD0F5CDD0}';
IID_IExodusRosterGroup: TGUID = '{FA63024E-3453-4551-8CA0-AFB78B2066AD}';
CLASS_ExodusRosterGroup: TGUID = '{21D07EDA-E275-4F43-9933-D1C9F45FCA15}';
IID_IExodusRosterImages: TGUID = '{F4AAF511-D144-42E7-B108-8A196D4BD115}';
CLASS_ExodusRosterImages: TGUID = '{1ADA45EB-EE12-4AC1-9E2B-AF1723DD1A28}';
IID_IExodusEntityCache: TGUID = '{6759BFE4-C72D-42E3-86A3-1F343E848933}';
CLASS_ExodusEntityCache: TGUID = '{560DA524-0368-4DD1-8FD6-DEB5C4D3836F}';
IID_IExodusEntity: TGUID = '{1F8FF968-CB2A-480C-B8C2-1E34C493EC0F}';
CLASS_ExodusEntity: TGUID = '{E3AC5A8C-1771-4851-8CF0-106B4AD1AEBF}';
// *********************************************************************//
// Declaration of Enumerations defined in Type Library
// *********************************************************************//
// Constants for enum ChatParts
type
ChatParts = TOleEnum;
const
HWND_MsgInput = $00000000;
Ptr_MsgInput = $00000001;
HWND_MsgOutput = $00000002;
Ptr_MsgOutput = $00000003;
// Constants for enum ActiveItem
type
ActiveItem = TOleEnum;
const
RosterItem = $00000000;
Bookmark = $00000001;
Group = $00000002;
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
IExodusController = interface;
IExodusControllerDisp = dispinterface;
IExodusChat = interface;
IExodusChatDisp = dispinterface;
IExodusPlugin = interface;
IExodusPluginDisp = dispinterface;
IExodusChatPlugin = interface;
IExodusChatPluginDisp = dispinterface;
IExodusRoster = interface;
IExodusRosterDisp = dispinterface;
IExodusPPDB = interface;
IExodusPPDBDisp = dispinterface;
IExodusRosterItem = interface;
IExodusRosterItemDisp = dispinterface;
IExodusPresence = interface;
IExodusPresenceDisp = dispinterface;
IExodusAuth = interface;
IExodusAuthDisp = dispinterface;
IExodusRosterGroup = interface;
IExodusRosterGroupDisp = dispinterface;
IExodusRosterImages = interface;
IExodusRosterImagesDisp = dispinterface;
IExodusEntityCache = interface;
IExodusEntityCacheDisp = dispinterface;
IExodusEntity = interface;
IExodusEntityDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
ExodusController = IExodusController;
ExodusChat = IExodusChat;
ExodusRoster = IExodusRoster;
ExodusPPDB = IExodusPPDB;
ExodusRosterItem = IExodusRosterItem;
ExodusPresence = IExodusPresence;
ExodusRosterGroup = IExodusRosterGroup;
ExodusRosterImages = IExodusRosterImages;
ExodusEntityCache = IExodusEntityCache;
ExodusEntity = IExodusEntity;
// *********************************************************************//
// Declaration of structures, unions and aliases.
// *********************************************************************//
PWideString1 = ^WideString; {*}
// *********************************************************************//
// Interface: IExodusController
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {808426B8-8C56-49FD-AE15-5D91DE1DE5EF}
// *********************************************************************//
IExodusController = interface(IDispatch)
['{808426B8-8C56-49FD-AE15-5D91DE1DE5EF}']
function Get_Connected: WordBool; safecall;
function Get_Username: WideString; safecall;
function Get_Server: WideString; safecall;
function RegisterCallback(const xpath: WideString; const callback: IExodusPlugin): Integer; safecall;
procedure UnRegisterCallback(ID: Integer); safecall;
procedure Send(const xml: WideString); safecall;
function isRosterJID(const jid: WideString): WordBool; safecall;
function isSubscribed(const jid: WideString): WordBool; safecall;
procedure ChangePresence(const Show: WideString; const Status: WideString; Priority: Integer); safecall;
procedure StartChat(const jid: WideString; const resource: WideString;
const nickname: WideString); safecall;
procedure GetProfile(const jid: WideString); safecall;
function CreateDockableWindow(const Caption: WideString): Integer; safecall;
function addPluginMenu(const Caption: WideString): WideString; safecall;
procedure removePluginMenu(const ID: WideString); safecall;
procedure monitorImplicitRegJID(const JabberID: WideString; FullJID: WordBool); safecall;
procedure getAgentList(const Server: WideString); safecall;
function getAgentService(const Server: WideString; const Service: WideString): WideString; safecall;
function generateID: WideString; safecall;
function isBlocked(const JabberID: WideString): WordBool; safecall;
procedure Block(const JabberID: WideString); safecall;
procedure UnBlock(const JabberID: WideString); safecall;
function Get_resource: WideString; safecall;
function Get_Port: Integer; safecall;
function Get_Priority: Integer; safecall;
function Get_PresenceStatus: WideString; safecall;
function Get_PresenceShow: WideString; safecall;
function Get_IsPaused: WordBool; safecall;
function Get_IsInvisible: WordBool; safecall;
procedure Connect; safecall;
procedure Disconnect; safecall;
function getPrefAsString(const Key: WideString): WideString; safecall;
function getPrefAsInt(const Key: WideString): Integer; safecall;
function getPrefAsBool(const Key: WideString): WordBool; safecall;
procedure setPrefAsString(const Key: WideString; const Value: WideString); safecall;
procedure setPrefAsInt(const Key: WideString; Value: Integer); safecall;
procedure setPrefAsBool(const Key: WideString; Value: WordBool); safecall;
function findChat(const JabberID: WideString; const resource: WideString): Integer; safecall;
procedure startSearch(const SearchJID: WideString); safecall;
procedure startRoom(const RoomJID: WideString; const nickname: WideString;
const Password: WideString; SendPresence: WordBool); safecall;
procedure startInstantMsg(const JabberID: WideString); safecall;
procedure startBrowser(const BrowseJID: WideString); safecall;
procedure showJoinRoom(const RoomJID: WideString; const nickname: WideString;
const Password: WideString); safecall;
procedure showPrefs; safecall;
procedure showCustomPresDialog; safecall;
procedure showDebug; safecall;
procedure showLogin; safecall;
procedure showToast(const Message: WideString; wndHandle: Integer; imageIndex: Integer); safecall;
procedure setPresence(const Show: WideString; const Status: WideString; Priority: Integer); safecall;
function Get_Roster: IExodusRoster; safecall;
function Get_PPDB: IExodusPPDB; safecall;
function registerDiscoItem(const JabberID: WideString; const Name: WideString): WideString; safecall;
procedure removeDiscoItem(const ID: WideString); safecall;
function registerPresenceXML(const xml: WideString): WideString; safecall;
procedure removePresenceXML(const ID: WideString); safecall;
procedure trackWindowsMsg(Message: Integer); safecall;
function addContactMenu(const Caption: WideString): WideString; safecall;
procedure removeContactMenu(const ID: WideString); safecall;
function getActiveContact: WideString; safecall;
function getActiveGroup: WideString; safecall;
function getActiveContacts(Online: WordBool): OleVariant; safecall;
function Get_LocalIP: WideString; safecall;
procedure setPluginAuth(const AuthAgent: IExodusAuth); safecall;
procedure setAuthenticated(Authed: WordBool; const xml: WideString); safecall;
procedure setAuthJID(const Username: WideString; const Host: WideString;
const resource: WideString); safecall;
function addMessageMenu(const Caption: WideString): WideString; safecall;
function addGroupMenu(const Caption: WideString): WideString; safecall;
procedure removeGroupMenu(const ID: WideString); safecall;
procedure registerWithService(const JabberID: WideString); safecall;
procedure showAddContact(const jid: WideString); safecall;
procedure registerCapExtension(const ext: WideString; const feature: WideString); safecall;
procedure unregisterCapExtension(const ext: WideString); safecall;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -