node-opencv/src/HighGUI.h
2017-11-13 14:51:56 +01:00

25 lines
419 B
C++

#include "OpenCV.h"
#ifdef HAVE_OPENCV_HIGHGUI
class NamedWindow: public Nan::ObjectWrap {
public:
std::string winname;
int flags;
static Nan::Persistent<FunctionTemplate> constructor;
static void Init(Local<Object> target);
static NAN_METHOD(New);
NamedWindow(const std::string& winname, int flags);
JSFUNC(Show)
;JSFUNC(Destroy)
;JSFUNC(BlockingWaitKey)
;JSFUNC(ResizeWindow)
;
};
#endif