Subversion Repositories HomeAutomation

Rev

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

Rev 1608 Rev 1619
Line 55... Line 55...
55
    void Call(std::string plugin_name, unsigned int request_id, std::string name, ArgumentListPointer arguments);
55
    void Call(std::string plugin_name, unsigned int request_id, std::string name, ArgumentListPointer arguments);
56
    void Execute(std::string plugin_name, unsigned int request_id, std::string code);
56
    void Execute(std::string plugin_name, unsigned int request_id, std::string code);
57
   
57
   
58
    bool LoadScript(std::string scriptname);
58
    bool LoadScript(std::string scriptname);
59
    bool ImportFunction(std::string functionname);
59
    bool ImportFunction(std::string functionname);
-
 
60
   
-
 
61
    v8::Persistent<v8::Context>& GetContext();
60
   
62
   
61
private:
63
private:
62
    typedef std::vector<Plugin::Pointer> PluginList;
64
    typedef std::vector<Plugin::Pointer> PluginList;
63
   
65
   
64
    static Pointer instance_;
66
    static Pointer instance_;