This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/example/doric/utils/DoricImageBridge.h

27 lines
457 B
C
Raw Permalink Normal View History

2021-04-23 17:56:08 +08:00
#ifndef DORICIMAGEBRIDGE_H
#define DORICIMAGEBRIDGE_H
#include <QObject>
2021-05-18 16:15:28 +08:00
#include "DoricExport.h"
class DORIC_EXPORT DoricImageBridge : public QObject {
2021-04-23 17:56:08 +08:00
Q_OBJECT
public:
explicit DoricImageBridge(QObject *parent = nullptr);
Q_INVOKABLE
void onNull(QString pointer);
Q_INVOKABLE
void onReady(QString pointer);
Q_INVOKABLE
void onLoading(QString pointer);
Q_INVOKABLE
void onError(QString pointer);
};
#endif // DORICIMAGEBRIDGE_H