split project with app & doric module
This commit is contained in:
17
doric-Qt/example/app/demo/DoricDemoBridge.h
Normal file
17
doric-Qt/example/app/demo/DoricDemoBridge.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef DEMOBRIDGE_H
|
||||
#define DEMOBRIDGE_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QVariant>
|
||||
|
||||
class DoricDemoBridge : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DoricDemoBridge(QObject *parent = nullptr);
|
||||
|
||||
Q_INVOKABLE
|
||||
void navigate(QVariant route);
|
||||
signals:
|
||||
};
|
||||
|
||||
#endif // DEMOBRIDGE_H
|
||||
Reference in New Issue
Block a user