Changeset 14633 for trunk/FACT++/src/InterpreterV8.cc
- Timestamp:
- 11/17/12 01:32:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8.cc
r14632 r14633 1256 1256 1257 1257 // ----------------------------- 1258 1258 Handle<FunctionTemplate> sky = FunctionTemplate::New(ConstructorSky); 1259 sky->SetClassName(String::New("Sky")); 1259 1260 Handle<Value> arg[] = { Number::New(equ.ra/15), Number::New(equ.dec), date }; 1260 return handle_scope.Close(fTemplateSky->GetFunction()->NewInstance(3, arg)); 1261 return handle_scope.Close(sky->GetFunction()->NewInstance(3, arg)); 1262 1263 //Handle<Value> arg[] = { Number::New(equ.ra/15), Number::New(equ.dec), date }; 1264 //return handle_scope.Close(fTemplateSky->GetFunction()->NewInstance(3, arg)); 1261 1265 } 1262 1266 … … 1686 1690 dim->Set(String::New("file"), FunctionTemplate::New(WrapFile), ReadOnly); 1687 1691 1692 // timeout -> Thread - class? 1693 // subscribe -> Service - class? 1694 // file -> File - class? 1695 // new class State ? 1696 // newState -> return State? 1697 // setState -> return State? 1698 // getState -> return State? 1699 1688 1700 Handle<ObjectTemplate> onchange = ObjectTemplate::New(); 1689 1701 onchange->SetNamedPropertyHandler(OnChangeGet, WrapOnChangeSet);
Note:
See TracChangeset
for help on using the changeset viewer.