2016-01-10 23:18:14 +11:00
|
|
|
'use strict';
|
|
|
|
|
2016-01-11 15:59:40 +11:00
|
|
|
const colors = require('colors'),
|
|
|
|
LogColors = require('./entities/LogColors.js'),
|
|
|
|
IPC = require('./services/IPC.js');
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2015-09-28 14:52:16 +10:00
|
|
|
|
2016-01-11 15:59:40 +11:00
|
|
|
colors.setTheme(new LogColors);
|
2014-02-26 12:15:43 +11:00
|
|
|
|
2016-01-11 15:59:40 +11:00
|
|
|
module.exports=new IPCModule;
|