unit zCubeExplorer_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 : $Revision:   1.130  $
// File generated on 06.08.02 17:23:04 from Type Library described below.

// ************************************************************************  //
// Type Lib: D:\Common\olap\src\zExplorer.tlb (1)
// LIBID: {4318A7A0-7942-11D6-98D4-BBF80A5F3124}
// LCID: 0
// Helpfile: 
// DepndLst: 
//   (1) v2.0 stdole, (C:\WINNT\SYSTEM32\STDOLE2.TLB)
//   (2) v4.0 StdVCL, (C:\WINNT\System32\stdvcl40.dll)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers. 
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}

interface

uses ActiveX, Classes, Graphics, StdVCL, Variants, Windows;
  

// *********************************************************************//
// 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
  zCubeExplorerMajorVersion = 1;
  zCubeExplorerMinorVersion = 0;

  LIBID_zCubeExplorer: TGUID = '{4318A7A0-7942-11D6-98D4-BBF80A5F3124}';

  IID_ILoadMonitor: TGUID = '{4318A7A1-7942-11D6-98D4-BBF80A5F3124}';
  CLASS_LoadMonitor: TGUID = '{4318A7A3-7942-11D6-98D4-BBF80A5F3124}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
  ILoadMonitor = interface;
  ILoadMonitorDisp = dispinterface;

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


// *********************************************************************//
// Interface: ILoadMonitor
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {4318A7A1-7942-11D6-98D4-BBF80A5F3124}
// *********************************************************************//
  ILoadMonitor = interface(IDispatch)
    ['{4318A7A1-7942-11D6-98D4-BBF80A5F3124}']
    function  Get_LoadSize: Integer; safecall;
    procedure Set_LoadSize(Value: Integer); safecall;
    procedure Step; safecall;
    property LoadSize: Integer read Get_LoadSize write Set_LoadSize;
  end;

// *********************************************************************//
// DispIntf:  ILoadMonitorDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {4318A7A1-7942-11D6-98D4-BBF80A5F3124}
// *********************************************************************//
  ILoadMonitorDisp = dispinterface
    ['{4318A7A1-7942-11D6-98D4-BBF80A5F3124}']
    property LoadSize: Integer dispid 2;
    procedure Step; dispid 5;
  end;

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

implementation

uses ComObj;

class function CoLoadMonitor.Create: ILoadMonitor;
begin
  Result := CreateComObject(CLASS_LoadMonitor) as ILoadMonitor;
end;

class function CoLoadMonitor.CreateRemote(const MachineName: string): ILoadMonitor;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_LoadMonitor) as ILoadMonitor;
end;

end.
