/****************************************************************************
** Meta object code from reading C++ file 'videomanager_wrap.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../jami-client-qt/src/libclient/qtwrapper/videomanager_wrap.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'videomanager_wrap.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN21VideoManagerInterfaceE_t {};
} // unnamed namespace

template <> constexpr inline auto VideoManagerInterface::qt_create_metaobjectdata<qt_meta_tag_ZN21VideoManagerInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "VideoManagerInterface",
        "deviceEvent",
        "",
        "decodingStarted",
        "id",
        "shmPath",
        "width",
        "height",
        "isMixer",
        "decodingStopped",
        "fileOpened",
        "path",
        "MapStringString",
        "info",
        "applySettings",
        "name",
        "settings",
        "getCapabilities",
        "MapStringMapStringVectorString",
        "getDefaultDevice",
        "getDeviceList",
        "getSettings",
        "device",
        "setDefaultDevice",
        "openVideoInput",
        "resource",
        "closeVideoInput",
        "startAudioDevice",
        "stopAudioDevice",
        "registerSinkTarget",
        "sinkID",
        "libjami::SinkTarget",
        "target",
        "getDecodingAccelerated",
        "setDecodingAccelerated",
        "state",
        "getEncodingAccelerated",
        "setEncodingAccelerated",
        "stopLocalRecorder",
        "startLocalMediaRecorder",
        "videoInputId",
        "getRenderer",
        "createMediaPlayer",
        "closeMediaPlayer",
        "pausePlayer",
        "pause",
        "mutePlayerAudio",
        "mute",
        "playerSeekToTime",
        "time",
        "getPlayerPosition",
        "getPlayerDuration",
        "setAutoRestart",
        "restart"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'deviceEvent'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'decodingStarted'
        QtMocHelpers::SignalData<void(const QString &, const QString &, int, int, bool)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { QMetaType::QString, 5 }, { QMetaType::Int, 6 }, { QMetaType::Int, 7 },
            { QMetaType::Bool, 8 },
        }}),
        // Signal 'decodingStopped'
        QtMocHelpers::SignalData<void(const QString &, const QString &, bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { QMetaType::QString, 5 }, { QMetaType::Bool, 8 },
        }}),
        // Signal 'fileOpened'
        QtMocHelpers::SignalData<void(const QString &, const MapStringString &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 }, { 0x80000000 | 12, 13 },
        }}),
        // Slot 'applySettings'
        QtMocHelpers::SlotData<void(const QString &, MapStringString)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 15 }, { 0x80000000 | 12, 16 },
        }}),
        // Slot 'getCapabilities'
        QtMocHelpers::SlotData<MapStringMapStringVectorString(const QString &)>(17, 2, QMC::AccessPublic, 0x80000000 | 18, {{
            { QMetaType::QString, 15 },
        }}),
        // Slot 'getDefaultDevice'
        QtMocHelpers::SlotData<QString()>(19, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'getDeviceList'
        QtMocHelpers::SlotData<QStringList()>(20, 2, QMC::AccessPublic, QMetaType::QStringList),
        // Slot 'getSettings'
        QtMocHelpers::SlotData<MapStringString(const QString &)>(21, 2, QMC::AccessPublic, 0x80000000 | 12, {{
            { QMetaType::QString, 22 },
        }}),
        // Slot 'setDefaultDevice'
        QtMocHelpers::SlotData<void(const QString &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Slot 'openVideoInput'
        QtMocHelpers::SlotData<QString(const QString &)>(24, 2, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 25 },
        }}),
        // Slot 'closeVideoInput'
        QtMocHelpers::SlotData<bool(const QString &)>(26, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 25 },
        }}),
        // Slot 'startAudioDevice'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stopAudioDevice'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'registerSinkTarget'
        QtMocHelpers::SlotData<bool(const QString &, const libjami::SinkTarget &)>(29, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 30 }, { 0x80000000 | 31, 32 },
        }}),
        // Slot 'getDecodingAccelerated'
        QtMocHelpers::SlotData<bool()>(33, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'setDecodingAccelerated'
        QtMocHelpers::SlotData<void(bool)>(34, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 35 },
        }}),
        // Slot 'getEncodingAccelerated'
        QtMocHelpers::SlotData<bool()>(36, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'setEncodingAccelerated'
        QtMocHelpers::SlotData<void(bool)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 35 },
        }}),
        // Slot 'stopLocalRecorder'
        QtMocHelpers::SlotData<void(const QString &)>(38, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 },
        }}),
        // Slot 'startLocalMediaRecorder'
        QtMocHelpers::SlotData<QString(const QString &, const QString &)>(39, 2, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 40 }, { QMetaType::QString, 11 },
        }}),
        // Slot 'getRenderer'
        QtMocHelpers::SlotData<MapStringString(const QString &)>(41, 2, QMC::AccessPublic, 0x80000000 | 12, {{
            { QMetaType::QString, 4 },
        }}),
        // Slot 'createMediaPlayer'
        QtMocHelpers::SlotData<QString(const QString &)>(42, 2, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 11 },
        }}),
        // Slot 'closeMediaPlayer'
        QtMocHelpers::SlotData<bool(const QString &)>(43, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 4 },
        }}),
        // Slot 'pausePlayer'
        QtMocHelpers::SlotData<bool(const QString &, bool)>(44, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 4 }, { QMetaType::Bool, 45 },
        }}),
        // Slot 'mutePlayerAudio'
        QtMocHelpers::SlotData<bool(const QString &, bool)>(46, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 4 }, { QMetaType::Bool, 47 },
        }}),
        // Slot 'playerSeekToTime'
        QtMocHelpers::SlotData<bool(const QString &, int)>(48, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 4 }, { QMetaType::Int, 49 },
        }}),
        // Slot 'getPlayerPosition'
        QtMocHelpers::SlotData<qint64(const QString &)>(50, 2, QMC::AccessPublic, QMetaType::LongLong, {{
            { QMetaType::QString, 4 },
        }}),
        // Slot 'getPlayerDuration'
        QtMocHelpers::SlotData<qint64(const QString &)>(51, 2, QMC::AccessPublic, QMetaType::LongLong, {{
            { QMetaType::QString, 4 },
        }}),
        // Slot 'setAutoRestart'
        QtMocHelpers::SlotData<void(const QString &, bool)>(52, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { QMetaType::Bool, 53 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<VideoManagerInterface, qt_meta_tag_ZN21VideoManagerInterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject VideoManagerInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21VideoManagerInterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21VideoManagerInterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN21VideoManagerInterfaceE_t>.metaTypes,
    nullptr
} };

void VideoManagerInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<VideoManagerInterface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->deviceEvent(); break;
        case 1: _t->decodingStarted((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[5]))); break;
        case 2: _t->decodingStopped((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 3: _t->fileOpened((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<MapStringString>>(_a[2]))); break;
        case 4: _t->applySettings((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<MapStringString>>(_a[2]))); break;
        case 5: { MapStringMapStringVectorString _r = _t->getCapabilities((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<MapStringMapStringVectorString*>(_a[0]) = std::move(_r); }  break;
        case 6: { QString _r = _t->getDefaultDevice();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 7: { QStringList _r = _t->getDeviceList();
            if (_a[0]) *reinterpret_cast<QStringList*>(_a[0]) = std::move(_r); }  break;
        case 8: { MapStringString _r = _t->getSettings((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<MapStringString*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->setDefaultDevice((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: { QString _r = _t->openVideoInput((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 11: { bool _r = _t->closeVideoInput((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->startAudioDevice(); break;
        case 13: _t->stopAudioDevice(); break;
        case 14: { bool _r = _t->registerSinkTarget((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<libjami::SinkTarget>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 15: { bool _r = _t->getDecodingAccelerated();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 16: _t->setDecodingAccelerated((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 17: { bool _r = _t->getEncodingAccelerated();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->setEncodingAccelerated((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 19: _t->stopLocalRecorder((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 20: { QString _r = _t->startLocalMediaRecorder((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 21: { MapStringString _r = _t->getRenderer((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<MapStringString*>(_a[0]) = std::move(_r); }  break;
        case 22: { QString _r = _t->createMediaPlayer((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 23: { bool _r = _t->closeMediaPlayer((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 24: { bool _r = _t->pausePlayer((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 25: { bool _r = _t->mutePlayerAudio((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 26: { bool _r = _t->playerSeekToTime((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 27: { qint64 _r = _t->getPlayerPosition((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<qint64*>(_a[0]) = std::move(_r); }  break;
        case 28: { qint64 _r = _t->getPlayerDuration((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<qint64*>(_a[0]) = std::move(_r); }  break;
        case 29: _t->setAutoRestart((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (VideoManagerInterface::*)()>(_a, &VideoManagerInterface::deviceEvent, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoManagerInterface::*)(const QString & , const QString & , int , int , bool )>(_a, &VideoManagerInterface::decodingStarted, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoManagerInterface::*)(const QString & , const QString & , bool )>(_a, &VideoManagerInterface::decodingStopped, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoManagerInterface::*)(const QString & , const MapStringString & )>(_a, &VideoManagerInterface::fileOpened, 3))
            return;
    }
}

const QMetaObject *VideoManagerInterface::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *VideoManagerInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21VideoManagerInterfaceE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int VideoManagerInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 30)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 30;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 30)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 30;
    }
    return _id;
}

// SIGNAL 0
void VideoManagerInterface::deviceEvent()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void VideoManagerInterface::decodingStarted(const QString & _t1, const QString & _t2, int _t3, int _t4, bool _t5)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3, _t4, _t5);
}

// SIGNAL 2
void VideoManagerInterface::decodingStopped(const QString & _t1, const QString & _t2, bool _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2, _t3);
}

// SIGNAL 3
void VideoManagerInterface::fileOpened(const QString & _t1, const MapStringString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}
QT_WARNING_POP
