#ifndef DEMOBRIDGE_H #define DEMOBRIDGE_H #include #include class DoricDemoBridge : public QObject { Q_OBJECT public: explicit DoricDemoBridge(QQmlApplicationEngine *engine, QObject *parent = nullptr); Q_INVOKABLE void navigate(QVariant route); private: QQmlApplicationEngine *mEngine; }; #endif // DEMOBRIDGE_H