Initial RPC API implementation.

Basic usage is:
remote = require 'remote'
Window = remote.require 'window'
w = new Window { width: 800, height: 600 }

Still need to do:
* Beter support for Array type.
* Remote objects should cheat devtools.
* Support cross-process callbacks.
This commit is contained in:
Cheng Zhao 2013-04-24 16:43:01 +08:00
parent f8899242c5
commit d723173bc7
8 changed files with 145 additions and 25 deletions

View file

@ -8,9 +8,13 @@
'coffee_sources': [
'browser/api/lib/atom.coffee',
'browser/api/lib/ipc.coffee',
'browser/api/lib/.coffee',
'browser/api/lib/window.coffee',
'browser/atom/atom.coffee',
'browser/atom/objects_registry.coffee',
'browser/atom/rpc_server.coffee',
'renderer/api/lib/ipc.coffee',
'renderer/api/lib/remote.coffee',
],
'lib_sources': [
'app/atom_main_delegate.cc',