Add getRoutingID and getProcessID for window API.
This commit is contained in:
parent
16244e42e0
commit
d28f51fb9c
5 changed files with 29 additions and 3 deletions
|
@ -4,8 +4,8 @@ var Window = require('window');
|
|||
|
||||
var mainWindow = null;
|
||||
|
||||
// Echo every message back.
|
||||
ipc.on('message', function(process_id, routing_id) {
|
||||
console.log('message from', process_id, routing_id);
|
||||
ipc.send.apply(ipc, arguments);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue