#include #include "NativeNodeUtils.h" #include "macros.h" #ifndef __FF_SIZE_H__ #define __FF_SIZE_H__ class Size : public FF::ObjectWrap { public: static Nan::Persistent constructor; static const char* getClassName() { return "Size"; } static NAN_MODULE_INIT(Init); static NAN_METHOD(New); FF_ACCESSORS(width, FF::DoubleConverter); FF_ACCESSORS(height, FF::DoubleConverter); }; #endif