[node] Add support for feature state APIs

This commit is contained in:
Juha Alanen
2019-08-28 13:34:11 +03:00
committed by Juha Alanen
parent fd179de6fb
commit a186e6a27d
3 changed files with 231 additions and 0 deletions

View File

@@ -64,6 +64,10 @@ public:
static void DumpDebugLogs(const Nan::FunctionCallbackInfo<v8::Value>&);
static void QueryRenderedFeatures(const Nan::FunctionCallbackInfo<v8::Value>&);
static void SetFeatureState(const Nan::FunctionCallbackInfo<v8::Value>&);
static void GetFeatureState(const Nan::FunctionCallbackInfo<v8::Value>&);
static void RemoveFeatureState(const Nan::FunctionCallbackInfo<v8::Value>&);
static v8::Local<v8::Value> ParseError(const char* msg);
void startRender(RenderOptions options);