Add getRoutingID and getProcessID for window API.

This commit is contained in:
Cheng Zhao 2013-04-23 17:21:34 +08:00
parent 16244e42e0
commit d28f51fb9c
5 changed files with 29 additions and 3 deletions

View file

@ -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);
});