#pragma once #include #include #include #include "core/Component/component_macro.h" class QIconWrap : public Napi::ObjectWrap { private: std::unique_ptr instance; public: static Napi::FunctionReference constructor; static Napi::Object init(Napi::Env env, Napi::Object exports); QIconWrap(const Napi::CallbackInfo &info); ~QIconWrap(); QIcon *getInternalInstance(); // Wrapped methods Napi::Value pixmap(const Napi::CallbackInfo& info); };