Changeset 14636


Ignore:
Timestamp:
11/17/12 01:39:46 (12 years ago)
Author:
tbretz
Message:
Removed fGlobalContext, fTemplateMoon and fTemplateDatabas; added Constructor; changed typ from Value to Object in fStateCallback
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/InterpreterV8.h

    r14635 r14636  
    2727    std::set<int> fThreadIds;
    2828
    29     v8::Persistent<v8::Context> fGlobalContext;
    30 
    3129    // A loookup table which allows to indentify the
    3230    // the JavaScript object corrsponding to the
     
    3634
    3735    // Lookup table for the callbacks in cases of state changes
    38     std::map<std::string, v8::Persistent<v8::Value>> fStateCallbacks;
     36    std::map<std::string, v8::Persistent<v8::Object>> fStateCallbacks;
    3937
    4038    // List of all timeout threads
     
    4644    static v8::Handle<v8::FunctionTemplate> fTemplateLocal;
    4745    static v8::Handle<v8::FunctionTemplate> fTemplateSky;
    48     static v8::Handle<v8::FunctionTemplate> fTemplateMoon;
    49     static v8::Handle<v8::FunctionTemplate> fTemplateDatabase;
    5046
    5147#ifdef HAVE_SQL
     
    8884
    8985    static double GetDataMember(const v8::Arguments &args, const char *name);
     86    static v8::Handle<v8::Value> Constructor(const v8::Arguments &args);
    9087
    9188    static v8::Handle<v8::Value> LocalToString(const v8::Arguments &args);
Note: See TracChangeset for help on using the changeset viewer.