#ifndef QLABEL_WRAP_H #define QLABEL_WRAP_H #include #include class QLabelWrap : public Napi::ObjectWrap{ private: QLabel* instance; public: static Napi::Object init(Napi::Env env, Napi::Object exports); QLabelWrap(const Napi::CallbackInfo& info); ~QLabelWrap(); QLabel* getInternalInstance(); //class constructor static Napi::FunctionReference constructor; //wrapped methods Napi::Value setWordWrap(const Napi::CallbackInfo& info); Napi::Value setText(const Napi::CallbackInfo& info); Napi::Value setStyleSheet(const Napi::CallbackInfo& info); }; #endif