unit PicViewer_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 25/06/2009 11:57:59 from Type Library described below.

// ************************************************************************  //
// Type Lib: C:\Program Files\Borland\Delphi7\PicViewer\PicViewer.tlb (1)
// LIBID: {9CA271B4-F3CC-4B54-810F-4DF73F1B7DC5}
// LCID: 0
// Helpfile: 
// HelpString: PicViewer Library
// 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
  PicViewerMajorVersion = 1;
  PicViewerMinorVersion = 0;

  LIBID_PicViewer: TGUID = '{9CA271B4-F3CC-4B54-810F-4DF73F1B7DC5}';

  IID_IAuto: TGUID = '{D3B49EBA-53AE-438C-844D-FF17119F3347}';
  CLASS_Auto: TGUID = '{2F934612-34FC-4AF5-8BB4-18C8D96A35F2}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
  IAuto = interface;
  IAutoDisp = dispinterface;

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


// *********************************************************************//
// Interface: IAuto
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {D3B49EBA-53AE-438C-844D-FF17119F3347}
// *********************************************************************//
  IAuto = interface(IDispatch)
    ['{D3B49EBA-53AE-438C-844D-FF17119F3347}']
    procedure OpenPIC(FileName: OleVariant); safecall;
    procedure ClosePIC(FileName: OleVariant); safecall;
    function Get_NumFrames: OleVariant; safecall;
    function Get_Frame: OleVariant; safecall;
    procedure Set_Frame(Value: OleVariant); safecall;
    function Get_IntensityMean: OleVariant; safecall;
    function Get_IntensitySD: OleVariant; safecall;
    function Get_IntensityMin: OleVariant; safecall;
    function Get_IntensityMax: OleVariant; safecall;
    function Get_NumStacks: OleVariant; safecall;
    function Get_NumSectionsPerStack: OleVariant; safecall;
    procedure Set_NumSectionsPerStack(Value: OleVariant); safecall;
    function Get_Stack: OleVariant; safecall;
    procedure Set_Stack(Value: OleVariant); safecall;
    function Get_Section: OleVariant; safecall;
    procedure Set_Section(Value: OleVariant); safecall;
    property NumFrames: OleVariant read Get_NumFrames;
    property Frame: OleVariant read Get_Frame write Set_Frame;
    property IntensityMean: OleVariant read Get_IntensityMean;
    property IntensitySD: OleVariant read Get_IntensitySD;
    property IntensityMin: OleVariant read Get_IntensityMin;
    property IntensityMax: OleVariant read Get_IntensityMax;
    property NumStacks: OleVariant read Get_NumStacks;
    property NumSectionsPerStack: OleVariant read Get_NumSectionsPerStack write Set_NumSectionsPerStack;
    property Stack: OleVariant read Get_Stack write Set_Stack;
    property Section: OleVariant read Get_Section write Set_Section;
  end;

// *********************************************************************//
// DispIntf:  IAutoDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {D3B49EBA-53AE-438C-844D-FF17119F3347}
// *********************************************************************//
  IAutoDisp = dispinterface
    ['{D3B49EBA-53AE-438C-844D-FF17119F3347}']
    procedure OpenPIC(FileName: OleVariant); dispid 201;
    procedure ClosePIC(FileName: OleVariant); dispid 202;
    property NumFrames: OleVariant readonly dispid 203;
    property Frame: OleVariant dispid 204;
    property IntensityMean: OleVariant readonly dispid 205;
    property IntensitySD: OleVariant readonly dispid 206;
    property IntensityMin: OleVariant readonly dispid 207;
    property IntensityMax: OleVariant readonly dispid 208;
    property NumStacks: OleVariant readonly dispid 209;
    property NumSectionsPerStack: OleVariant dispid 210;
    property Stack: OleVariant dispid 211;
    property Section: OleVariant dispid 212;
  end;

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

implementation

uses ComObj;

class function CoAuto.Create: IAuto;
begin
  Result := CreateComObject(CLASS_Auto) as IAuto;
end;

class function CoAuto.CreateRemote(const MachineName: string): IAuto;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_Auto) as IAuto;
end;

end.
