r8821: continue the trend to move to a more OO style of interface for our js
authorAndrew Tridgell <tridge@samba.org>
Thu, 28 Jul 2005 06:46:03 +0000 (06:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:30:08 +0000 (13:30 -0500)
commitf7b49ecd0868c1f0fec75b371f132bbf357ad8c6
tree2102d1f464dd116fb684b50bfef227d8d8f6ca7a
parent8774f971f3926c5c37aad1e8dfeafa394de87d63
r8821: continue the trend to move to a more OO style of interface for our js
calls. This changes the generated RPC and IRPC calls to use the 'this'
object pointer instead of requiring the passing of the object on each
call. So typical usage is now:

var echo = echo_init();
var io = irpcObj();

status = echo.connect("ncacn_np:server");
assert(status.is_ok);

io.input.in_data = 7;
status = echo.AddOne(io);
assert(status.is_ok);
source/build/pidl/Parse/Pidl/Samba/EJS.pm
source/scripting/ejs/smbcalls_rpc.c
source/scripting/libjs/management.js
source/scripting/libjs/samr.js
swat/esptest/samr.esp
testprogs/ejs/echo.js
testprogs/ejs/samr.js