unit ANYQAid_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 2004-7-12 14:45:53 from Type Library described below.

// ************************************************************************  //
// Type Lib: D:\Works\Project\AnyQ(new)\plugins\Aid\ANYQAid.tlb (1)
// LIBID: {C10F4AB2-917C-424C-BAB0-E3AE9249E105}
// LCID: 0
// Helpfile: 
// HelpString: ANYQAid Library
// DepndLst: 
//   (1) v1.0 ANYQCOM, (D:\Works\Output\AnyQ\AnyQ.exe)
//   (2) 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, ANYQCOM_TLB, 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
  ANYQAidMajorVersion = 1;
  ANYQAidMinorVersion = 0;

  LIBID_ANYQAid: TGUID = '{C10F4AB2-917C-424C-BAB0-E3AE9249E105}';

  CLASS_AIDPlugin: TGUID = '{C9807DA8-0158-4ACA-8732-6579C58108B9}';
  CLASS_AIDChatPlugin: TGUID = '{68168B59-BE36-44C3-A5E6-5108DB8062B5}';
type

// *********************************************************************//
// Declaration of CoClasses defined in Type Library                       
// (NOTE: Here we map each CoClass to its Default Interface)              
// *********************************************************************//
  AIDPlugin = IANYQPlugin;
  AIDChatPlugin = IANYQChatPlugin;


// *********************************************************************//
// The Class CoAIDPlugin provides a Create and CreateRemote method to          
// create instances of the default interface IANYQPlugin exposed by              
// the CoClass AIDPlugin. The functions are intended to be used by             
// clients wishing to automate the CoClass objects exposed by the         
// server of this typelibrary.                                            
// *********************************************************************//
  CoAIDPlugin = class
    class function Create: IANYQPlugin;
    class function CreateRemote(const MachineName: string): IANYQPlugin;
  end;

// *********************************************************************//
// The Class CoAIDChatPlugin provides a Create and CreateRemote method to          
// create instances of the default interface IANYQChatPlugin exposed by              
// the CoClass AIDChatPlugin. The functions are intended to be used by             
// clients wishing to automate the CoClass objects exposed by the         
// server of this typelibrary.                                            
// *********************************************************************//
  CoAIDChatPlugin = class
    class function Create: IANYQChatPlugin;
    class function CreateRemote(const MachineName: string): IANYQChatPlugin;
  end;

implementation

uses ComObj;

class function CoAIDPlugin.Create: IANYQPlugin;
begin
  Result := CreateComObject(CLASS_AIDPlugin) as IANYQPlugin;
end;

class function CoAIDPlugin.CreateRemote(const MachineName: string): IANYQPlugin;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_AIDPlugin) as IANYQPlugin;
end;

class function CoAIDChatPlugin.Create: IANYQChatPlugin;
begin
  Result := CreateComObject(CLASS_AIDChatPlugin) as IANYQChatPlugin;
end;

class function CoAIDChatPlugin.CreateRemote(const MachineName: string): IANYQChatPlugin;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_AIDChatPlugin) as IANYQChatPlugin;
end;

end.
