Subversion Repositories HomeAutomation

Rev

Rev 1601 | Rev 1604 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1601 Rev 1603
Line 65... Line 65...
65
 
65
 
66
Value System::Export_LoadScript(const v8::Arguments& args)
66
Value System::Export_LoadScript(const v8::Arguments& args)
67
{
67
{
68
    v8::String::AsciiValue str(args[0]);
68
    v8::String::AsciiValue str(args[0]);
69
   
69
   
70
    return v8::Boolean::New(Manager::Instance()->LoadScript(*str));
70
    return v8::Boolean::New(Manager::Instance()->LoadScriptHandler(*str));
71
}
71
}
72
 
72
 
73
Value System::Export_Execute(const v8::Arguments& args)
73
Value System::Export_Execute(const v8::Arguments& args)
74
{
74
{
75
    v8::String::AsciiValue command(args[0]);
75
    v8::String::AsciiValue command(args[0]);