Changeset 14634 for trunk/FACT++
- Timestamp:
- 11/17/12 01:32:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8.cc
r14633 r14634 1256 1256 1257 1257 // ----------------------------- 1258 Handle<FunctionTemplate> sky = FunctionTemplate::New(ConstructorSky); 1259 sky->SetClassName(String::New("Sky")); 1258 1260 1259 Handle<Value> arg[] = { Number::New(equ.ra/15), Number::New(equ.dec), date }; 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)); 1260 return handle_scope.Close(fTemplateSky->GetFunction()->NewInstance(3, arg)); 1265 1261 } 1266 1262 … … 1690 1686 dim->Set(String::New("file"), FunctionTemplate::New(WrapFile), ReadOnly); 1691 1687 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 1700 1688 Handle<ObjectTemplate> onchange = ObjectTemplate::New(); 1701 1689 onchange->SetNamedPropertyHandler(OnChangeGet, WrapOnChangeSet);
Note:
See TracChangeset
for help on using the changeset viewer.