#ifndef MEDIA_PACINGHANDLER_WRAPPER_H #define MEDIA_PACINGHANDLER_WRAPPER_H #include #include #include #include class PacingHandlerWrapper : public Napi::ObjectWrap { public: static Napi::FunctionReference constructor; static Napi::Object Init(Napi::Env env, Napi::Object exports); PacingHandlerWrapper(const Napi::CallbackInfo &info); ~PacingHandlerWrapper(); std::shared_ptr getHandlerInstance(); // Functions void addToChain(const Napi::CallbackInfo &info); // Callbacks private: std::shared_ptr mHandlerPtr = nullptr; }; #endif // MEDIA_PACINGHANDLER_WRAPPER_H