Changeset 15043 for trunk/FACT++/src/InterpreterV8.h
- Timestamp:
- 03/13/13 10:49:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8.h
r14983 r15043 13 13 14 14 #include "State.h" 15 #include "Service.h" 15 16 #include "Description.h" 16 17 #include "EventImp.h" … … 78 79 v8::Handle<v8::Value> FuncGetState(const v8::Arguments& args); 79 80 v8::Handle<v8::Value> FuncGetStates(const v8::Arguments& args); 81 v8::Handle<v8::Value> FuncGetService(const v8::Arguments& args); 82 v8::Handle<v8::Value> FuncGetServices(const v8::Arguments& args); 80 83 v8::Handle<v8::Value> FuncNewState(const v8::Arguments& args); 81 84 //v8::Handle<v8::Value> FuncOpen(const v8::Arguments& args); … … 129 132 static v8::Handle<v8::Value> WrapGetState(const v8::Arguments &args) { if (This) return This->FuncGetState(args); else return v8::Undefined(); } 130 133 static v8::Handle<v8::Value> WrapGetStates(const v8::Arguments &args){ if (This) return This->FuncGetStates(args);else return v8::Undefined(); } 134 static v8::Handle<v8::Value> WrapGetService(const v8::Arguments &args){ if (This) return This->FuncGetService(args);else return v8::Undefined(); } 135 static v8::Handle<v8::Value> WrapGetServices(const v8::Arguments &args){ if (This) return This->FuncGetServices(args);else return v8::Undefined(); } 131 136 //static v8::Handle<v8::Value> WrapOpen(const v8::Arguments &args) { if (This) return This->FuncOpen(args); else return v8::Undefined(); } 132 137 static v8::Handle<v8::Value> WrapSubscription(const v8::Arguments &args){ if (This) return This->FuncSubscription(args);else return v8::Undefined(); } … … 185 190 virtual State JsGetCurrentState() const { return State(); } 186 191 virtual std::vector<State> JsGetStates(const std::string &) { return std::vector<State>(); } 192 virtual std::set<Service> JsGetServices() { return std::set<Service>(); } 193 virtual std::vector<Description> JsGetDescription(const std::string &) { return std::vector<Description>(); } 187 194 188 195 virtual std::vector<Description> JsDescription(const std::string &) { return std::vector<Description>(); };
Note:
See TracChangeset
for help on using the changeset viewer.