// Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #ifndef QWASMEVENTDISPATCHER_H #define QWASMEVENTDISPATCHER_H #include #include QT_BEGIN_NAMESPACE class QWasmSuspendResumeControl; class QWasmEventDispatcher : public QEventDispatcherWasm { public: QWasmEventDispatcher(std::shared_ptr suspendResume); protected: bool sendPostedEvents() override; void onLoaded() override; }; QT_END_NAMESPACE #endif