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:
parent
f8899242c5
commit
d723173bc7
8 changed files with 145 additions and 25 deletions
4
atom.gyp
4
atom.gyp
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue