mirror of
https://bitbucket.org/Dennis07/lina-components.git
synced 2024-11-24 08:02:12 +02:00
39c0916f1c
Signed-off-by: Dennis07 <den.goehlert@t-online.de>
94 lines
1.7 KiB
ObjectPascal
94 lines
1.7 KiB
ObjectPascal
unit uVirtObj;
|
|
|
|
//////////////////////////////////////
|
|
/// Lina Virtual Object Unit ///
|
|
/// **************************** ///
|
|
/// (c) 2014 Dennis Göhlert a.o. ///
|
|
//////////////////////////////////////
|
|
|
|
interface
|
|
|
|
uses
|
|
{ Standard-Units }
|
|
SysUtils, Classes,
|
|
{ Andere Package-Units }
|
|
uBase;
|
|
|
|
type
|
|
{ Hauptklassen }
|
|
|
|
{ VirtualObject }
|
|
TVirtualObject = class
|
|
|
|
end;
|
|
|
|
TVirtualObjects = array of TVirtualObject;
|
|
|
|
{ VirtualMethod }
|
|
TVirtualMethod = class
|
|
|
|
end;
|
|
|
|
TVirtualMethods = array of TVirtualMethod;
|
|
|
|
{ VirtualLirary }
|
|
TVirtualLibray = class
|
|
|
|
end;
|
|
|
|
TVirtualLibraries = array of TVirtualLibray;
|
|
|
|
{ VirtualClass }
|
|
TVirtualClass = class
|
|
|
|
end;
|
|
|
|
TVirtualClasses = array of TVirtualClass;
|
|
|
|
{ VirtualProgram }
|
|
TVirtualProgram = class(TComponent)
|
|
private
|
|
{ Private-Deklarationen }
|
|
FObjects: TVirtualObjects;
|
|
FAbout: TComponentAbout;
|
|
public
|
|
{ Public-Deklarationen }
|
|
constructor Create(AOwner: TComponent); override;
|
|
destructor Destroy; override;
|
|
published
|
|
{ Published-Deklarationen }
|
|
// property Objects [Index: Integer]: TVirtualObject read FObjects write FObjects;
|
|
{ Meta-Daten }
|
|
property About: TComponentAbout read FAbout;
|
|
end;
|
|
|
|
procedure Register;
|
|
|
|
const
|
|
{ Meta-Daten }
|
|
VirtualComponent_Name = 'ScriptManager';
|
|
VirtualComponent_Version = 1.0;
|
|
VirtualComponent_Copyright = 'Copyright © 2014';
|
|
VirtualComponent_Author = 'Dennis Göhlert a.o.';
|
|
|
|
implementation
|
|
|
|
procedure Register;
|
|
begin
|
|
RegisterComponents(ComponentsPage,[TVirtualProgram]);
|
|
end;
|
|
|
|
constructor TVirtualProgram.Create(AOwner: TComponent);
|
|
begin
|
|
inherited;
|
|
//...
|
|
end;
|
|
|
|
destructor TVirtualProgram.Destroy;
|
|
begin
|
|
//...
|
|
inherited;
|
|
end;
|
|
|
|
end.
|