diff options
Diffstat (limited to 'src/platformheaders/eglfsfunctions/qeglfsfunctions_p.h')
-rw-r--r-- | src/platformheaders/eglfsfunctions/qeglfsfunctions_p.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/platformheaders/eglfsfunctions/qeglfsfunctions_p.h b/src/platformheaders/eglfsfunctions/qeglfsfunctions_p.h index 1eb177f694..2b0ff872ac 100644 --- a/src/platformheaders/eglfsfunctions/qeglfsfunctions_p.h +++ b/src/platformheaders/eglfsfunctions/qeglfsfunctions_p.h @@ -59,25 +59,6 @@ QT_BEGIN_NAMESPACE class QEglFSFunctions { public: - typedef void (*LoadKeymapType)(const QString &filename); - typedef void (*SwitchLangType)(); - static QByteArray loadKeymapTypeIdentifier() { return QByteArrayLiteral("EglFSLoadKeymap"); } - static QByteArray switchLangTypeIdentifier() { return QByteArrayLiteral("EglFSSwitchLang"); } - - static void loadKeymap(const QString &filename) - { - LoadKeymapType func = reinterpret_cast<LoadKeymapType>(QGuiApplication::platformFunction(loadKeymapTypeIdentifier())); - if (func) - func(filename); - } - - static void switchLang() - { - SwitchLangType func = reinterpret_cast<SwitchLangType>(QGuiApplication::platformFunction(switchLangTypeIdentifier())); - if (func) - func(); - } - typedef int (*Vsp2AddLayerType)(const QScreen *screen, int dmabufFd, const QSize &size, const QPoint &position, uint drmPixelFormat, uint bytesPerLine); static QByteArray vsp2AddLayerTypeIdentifier() { return QByteArrayLiteral("EglFSVsp2AddLayer"); } |