2021-07-03 07:35:02 +10:00
|
|
|
import IPC from './services/IPC.js';
|
2016-01-11 15:59:40 +11:00
|
|
|
|
|
|
|
class IPCModule extends IPC{
|
|
|
|
constructor(){
|
|
|
|
super();
|
2016-01-11 16:10:58 +11:00
|
|
|
//include IPC to make extensible
|
2016-01-11 15:59:40 +11:00
|
|
|
Object.defineProperty(
|
|
|
|
this,
|
|
|
|
'IPC',
|
|
|
|
{
|
|
|
|
enumerable:true,
|
|
|
|
writable:false,
|
|
|
|
value:IPC
|
|
|
|
}
|
|
|
|
)
|
2016-01-10 16:48:03 +11:00
|
|
|
}
|
2014-02-22 20:13:31 +11:00
|
|
|
}
|
|
|
|
|
2021-07-03 07:35:02 +10:00
|
|
|
const singleton=new IPCModule;
|
|
|
|
|
|
|
|
export {
|
|
|
|
singleton as default,
|
|
|
|
IPCModule
|
|
|
|
}
|