-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathScreenRecorderWrapper.h
26 lines (21 loc) · 970 Bytes
/
ScreenRecorderWrapper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef SCREEN_RECORDER_WRAPPER_H
#define SCREEN_RECORDER_WRAPPER_H
#include <nan.h>
class ScreenRecorderWrapper : public Nan::ObjectWrap {
public:
static void Init(v8::Local<v8::Object> exports);
private:
explicit ScreenRecorderWrapper();
~ScreenRecorderWrapper();
static void New(const Nan::FunctionCallbackInfo<v8::Value>& info);
static void Start(const Nan::FunctionCallbackInfo<v8::Value>& info);
static void Stop(const Nan::FunctionCallbackInfo<v8::Value>& info);
static void SetCapturesMouseClicks(const Nan::FunctionCallbackInfo<v8::Value>& info);
static void SetCapturesCursor(const Nan::FunctionCallbackInfo<v8::Value>& info);
static void SetCropRect(const Nan::FunctionCallbackInfo<v8::Value>& info);
static void SetFrameRate(const Nan::FunctionCallbackInfo<v8::Value>& info);
static void RecordAudio(const Nan::FunctionCallbackInfo<v8::Value>& info);
static Nan::Persistent<v8::Function> constructor;
void *pImpl_;
};
#endif