Add System calls to runtime

This commit is contained in:
Lea Anthony 2020-10-03 20:45:04 +10:00
commit aabcef2958
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405
2 changed files with 6 additions and 3 deletions

View file

@ -12,7 +12,7 @@ import * as Log from './log';
import * as Browser from './browser';
import * as Window from './window';
import { On, OnMultiple, Emit, Notify, Heartbeat, Acknowledge } from './events';
import { Callback } from './calls';
import { Callback, SystemCall } from './calls';
import { AddScript, InjectCSS } from './utils';
import { AddIPCListener } from 'ipc';
import * as Platform from 'platform';
@ -40,7 +40,8 @@ export function Init() {
AddScript,
InjectCSS,
Init,
AddIPCListener
AddIPCListener,
SystemCall,
}
};

View file

@ -13,10 +13,12 @@ const Log = require('./log');
const Browser = require('./browser');
const Events = require('./events');
const Init = require('./init');
const System = require('./system');
module.exports = {
Log: Log,
Browser: Browser,
Events: Events,
Init: Init
Init: Init,
System: System,
};