home *** CD-ROM | disk | FTP | other *** search
-
- {*******************************************************}
- { }
- { MiTeC System Information Console Object }
- { version 6.5 for Delphi 5,6 }
- { }
- { Copyright ⌐ 1997,2001 Michal Mutl }
- { }
- {*******************************************************}
-
- {$INCLUDE MITEC_DEF.INC}
-
- unit MSI_Console;
-
- interface
-
- uses
- MSI_CPU, MSI_Machine, MSI_Devices, MSI_Display, MSI_Network, MSI_Media,
- MSI_Memory, MSI_Engines, MSI_APM, MSI_Disk, MSI_OS,
- MSI_Printers, MSI_Software, MSI_Startup, MSI_Common,
- Windows, SysUtils, Classes;
-
- type
- TSubObject = (soCPU, soMachine, soDevices, soDisplay, soNetwork, soMedia,
- soMemory, soEngines, soAPM, soDisk, soOS, soPrinters, soSoftware, soStartup);
-
- TSubObjects = set of TSubObject;
-
- const
- soAll = [soCPU, soMachine, soDevices, soDisplay, soNetwork, soMedia,
- soMemory, soEngines, soAPM, soDisk, soOS, soPrinters, soSoftware, soStartup];
-
- type
- TMSI = class(TPersistent)
- public
- constructor Create(ASubObjects: TSubObjects = soAll);
- destructor Destroy; override;
- procedure Refresh;
- procedure Report(var sl :TStringList);
-
- property About :string read FAbout;
- property ExceptionMode: TExceptionMode read FMode Write SetMode;
- property CPU :TCPU read FCPU;
- property Memory :TMemory read FMemory;
- property OS :TOperatingSystem read FOS;
- property Disk :TDisk read FDisk;
- property Machine :TMachine read FMachine;
- property Network :TNetwork read FNetwork;
- property Display :TDisplay read FDisplay;
- property Media :TMedia read FMedia;
- property Devices :TDevices read FDevices;
- property Engines :TEngines read FEngines;
- property APM :TAPM read FAPM;
- property Printers :TPrinters read FPrinters;
- property Software :TSoftware read FSoftware;
- property Startup: TStartup read FStartup;
- end;
-
- implementation
-
-
-