4#ifndef QOHOSPLATFORMNATIVEINTERFACE_H
5#define QOHOSPLATFORMNATIVEINTERFACE_H
7#include <QtCore/qglobal.h>
8#include <qpa/qplatformnativeinterface.h>
12class QOhosPlatformNativeInterface :
public QPlatformNativeInterface
15 void *nativeResourceForWindow(
const QByteArray &resource, QWindow *window)
override;
18 void customEvent(QEvent *event)
override;
20 QFunctionPointer platformFunction(
const QByteArray &functionName)
const override;
bool isWindowPcModeEnabled() const
static QOhosSettings & instance()
Combined button and popup list for selecting options.
bool isInputDeviceWithMouse(QtOhos::JsState &jsState, std::uint32_t deviceId)
std::set< QInputDevice::DeviceType > getAvailableDeviceTypes()
bool isDeviceTypeInDeviceIds(QtOhos::JsState &jsState, const std::vector< std::uint32_t > &deviceIds, const std::function< bool(QtOhos::JsState &, std::uint32_t)> &isDeviceTypeFunc)
bool isInputDeviceWithTouchscreen(QtOhos::JsState &jsState, std::uint32_t deviceId)
bool isInputDeviceOfType(QtOhos::JsState &jsState, std::uint32_t deviceId, const std::string &type)
bool isInputDeviceWithTouchpad(QtOhos::JsState &jsState, std::uint32_t deviceId)
bool isOhosNoUiChildMode()