#include "macros.h" #include #include "Mat.h" #include "CatchCvExceptionWorker.h" #ifndef __FF_VIDEOWRITER_H__ #define __FF_VIDEOWRITER_H__ class VideoWriter : public FF::ObjectWrap { public: static Nan::Persistent constructor; static const char* getClassName() { return "VideoWriter"; } std::string path; static NAN_MODULE_INIT(Init); static NAN_METHOD(New); static NAN_METHOD(Fourcc); static NAN_METHOD(Write); static NAN_METHOD(WriteAsync); static NAN_METHOD(Get); static NAN_METHOD(GetAsync); static NAN_METHOD(Set); static NAN_METHOD(SetAsync); static NAN_METHOD(Release); }; #endif