mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 02:48:07 +02:00
parent
8bc2326b77
commit
82346563c1
@ -1172,6 +1172,28 @@
|
||||
inherited;
|
||||
end;
|
||||
|
||||
{****************************************************************************
|
||||
TCustomStoredAttribute
|
||||
****************************************************************************}
|
||||
|
||||
|
||||
constructor StoredAttribute.Create;
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
constructor StoredAttribute.Create(Const aFlag : Boolean);
|
||||
begin
|
||||
FFlag:=aFlag;
|
||||
end;
|
||||
|
||||
|
||||
|
||||
constructor StoredAttribute.Create(Const aName : string);
|
||||
begin
|
||||
FName:=aName;
|
||||
end;
|
||||
|
||||
|
||||
{****************************************************************************
|
||||
Exception Support
|
||||
|
@ -444,6 +444,19 @@
|
||||
UnsafeAttribute = class(TCustomAttribute);
|
||||
RefAttribute = class(TCustomAttribute);
|
||||
VolatileAttribute = class(TCustomAttribute);
|
||||
|
||||
StoredAttribute = Class(TCustomAttribute)
|
||||
Private
|
||||
FFlag : Boolean;
|
||||
FName : String;
|
||||
Public
|
||||
Constructor Create;
|
||||
Constructor Create(Const aFlag : Boolean);
|
||||
Constructor Create(Const aName : String);
|
||||
Property Flag : Boolean Read FFlag;
|
||||
Property Name : String Read FName;
|
||||
end;
|
||||
|
||||
|
||||
Const
|
||||
ExceptProc : TExceptProc = Nil;
|
||||
|
Loading…
Reference in New Issue
Block a user