mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 11:17:45 +02:00
* Namespaced OpenTok API
This commit is contained in:
parent
3c8da6f10c
commit
1e4a6845b9
3
packages/opentok/namespaced/Api.OpenTok.pas
Normal file
3
packages/opentok/namespaced/Api.OpenTok.pas
Normal file
@ -0,0 +1,3 @@
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
unit Api.OpenTok;
|
||||
{$include ../src/libopentok.pas}
|
@ -14,8 +14,9 @@
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
**********************************************************************}
|
||||
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
unit libopentok;
|
||||
{$ENDIF}
|
||||
|
||||
{$mode objfpc}
|
||||
{$modeswitch externalclass}
|
||||
@ -23,7 +24,11 @@ unit libopentok;
|
||||
interface
|
||||
|
||||
uses
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
JSApi.JS, BrowserApi.Web, System.Types;
|
||||
{$ELSE}
|
||||
JS, web, types;
|
||||
{$ENDIF}
|
||||
|
||||
Type
|
||||
TJSMediaStreamTrack = class external name 'MediaStreamTrack' (TJSObject);
|
Loading…
Reference in New Issue
Block a user