Qt IVI Generator Remote Objects Example

/**************************************************************************** ** Generated from 'Example.IVI.Remote.qface' ** ** Created by: The QFace generator (QtAS 5.12.8) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/
#include "remoteplugin.h" #include "processingservicebackend.h" #include <QStringList> RemotePlugin::RemotePlugin(QObject *parent) : QObject(parent) { m_interfaces << new ProcessingServiceBackend(this); } QStringList RemotePlugin::interfaces() const { QStringList list; list << Remote_ProcessingService_iid; return list; } QIviFeatureInterface *RemotePlugin::interfaceInstance(const QString &interface) const { int index = interfaces().indexOf(interface); return index < 0 ? nullptr : m_interfaces.at(index); }