mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-16 09:09:21 +02:00
rtl: clean up
This commit is contained in:
parent
60abf7d458
commit
66ab817361
@ -137,8 +137,7 @@ Type
|
||||
Private
|
||||
FreferringDevice : TJSBluetoothDevice; external name 'referringDevice';
|
||||
Public
|
||||
|
||||
onavailabilitychanged : TJSEventHandler;
|
||||
onavailabilitychanged : TJSEventHandler;
|
||||
function getAvailability: TJSPromise;
|
||||
function requestDevice(options : TJSRequestDeviceOptions): TJSPromise; overload;
|
||||
function requestDevice: TJSPromise; overload;
|
||||
@ -153,7 +152,7 @@ Type
|
||||
TJSBluetoothPermissionResult = class external name 'BluetoothPermissionResult' (TJSOBject)
|
||||
Private
|
||||
Public
|
||||
devices : TTJSBluetoothDeviceDynArray;
|
||||
devices : TTJSBluetoothDeviceDynArray;
|
||||
end;
|
||||
|
||||
{ --------------------------------------------------------------------
|
||||
@ -388,9 +387,9 @@ Type
|
||||
|
||||
TJSNavigator = class external name 'Navigator'
|
||||
Private
|
||||
Fbluetooth : TJSBluetooth; external name 'bluetooth';
|
||||
Fbluetooth : TJSBluetooth; external name 'bluetooth';
|
||||
Public
|
||||
Property bluetooth : TJSBluetooth Read Fbluetooth;
|
||||
Property bluetooth : TJSBluetooth Read Fbluetooth;
|
||||
end;
|
||||
|
||||
implementation
|
||||
|
Loading…
Reference in New Issue
Block a user