mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
21 lines
396 B
C++
21 lines
396 B
C++
#include "OpenCV.h"
|
|
|
|
|
|
class NamedWindow: public node::ObjectWrap {
|
|
public:
|
|
std::string winname;
|
|
int flags;
|
|
|
|
|
|
static Persistent<FunctionTemplate> constructor;
|
|
static void Init(Handle<Object> target);
|
|
static Handle<Value> New(const Arguments &args);
|
|
|
|
NamedWindow(const std::string& winname, int flags);
|
|
|
|
JSFUNC(Show);
|
|
JSFUNC(Destroy);
|
|
JSFUNC(BlockingWaitKey);
|
|
|
|
};
|