mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-20 20:09:09 +02:00
* Add enum type
This commit is contained in:
parent
20561ff2d9
commit
31e43b5ec1
@ -77,10 +77,16 @@ Type
|
|||||||
Procedure writeTo(aMessage : TROMessage);
|
Procedure writeTo(aMessage : TROMessage);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{ TROEnumType }
|
||||||
|
|
||||||
TROEnumType = class external name 'RemObjects.SDK.ROEnumType' (TROComplexType)
|
TROEnumType = class external name 'RemObjects.SDK.ROEnumType' (TROComplexType)
|
||||||
|
private
|
||||||
|
FEnumValues: TStringDynArray;
|
||||||
Public
|
Public
|
||||||
|
value : string;
|
||||||
Procedure fromObject(aObject : TJSObject); overload;
|
Procedure fromObject(aObject : TJSObject); overload;
|
||||||
Function toObject(aStoreType : Boolean) : TJSObject;overload;
|
Function toObject(aStoreType : Boolean) : TJSObject;overload;
|
||||||
|
property enumValues : TStringDynArray read FEnumValues;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TROStructType = class external name 'RemObjects.SDK.ROStructType' (TROComplexType)
|
TROStructType = class external name 'RemObjects.SDK.ROStructType' (TROComplexType)
|
||||||
|
Loading…
Reference in New Issue
Block a user