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! *****************************************************************************/
#ifndef REMOTE_PROCESSINGSERVICE_H_ #define REMOTE_PROCESSINGSERVICE_H_ #include "remotemodule.h" #include <QtIviCore/QIviAbstractFeature> #include <QtIviCore/QIviPendingReply> #include <QtIviCore/QIviPagingModel> class ProcessingServicePrivate; class ProcessingServiceBackendInterface; class Q_EXAMPLE_IVI_REMOTE_EXPORT ProcessingService : public QIviAbstractFeature { Q_OBJECT Q_PROPERTY(QString lastMessage READ lastMessage WRITE setLastMessage NOTIFY lastMessageChanged) Q_CLASSINFO("IviPropertyDomains", "{\"iviVersion\":\"5.12.8\"}") public: explicit ProcessingService(QObject *parent = nullptr); ~ProcessingService(); static void registerQmlTypes(const QString& uri, int majorVersion=1, int minorVersion=0); QString lastMessage() const; public Q_SLOTS: QIviPendingReply<int> process(const QString &data); void setLastMessage(const QString &lastMessage); Q_SIGNALS: void lastMessageChanged(const QString &lastMessage); protected: ProcessingServiceBackendInterface *processingserviceBackend() const; void connectToServiceObject(QIviServiceObject *service) Q_DECL_OVERRIDE; void clearServiceObject() Q_DECL_OVERRIDE; private: Q_PRIVATE_SLOT(d_func(), void onLastMessageChanged(const QString &lastMessage)) Q_DECLARE_PRIVATE(ProcessingService) }; #endif // REMOTE_PROCESSINGSERVICE_H_