#ifndef DORICMODALPLUGIN_H #define DORICMODALPLUGIN_H #include "DoricNativePlugin.h" class DoricModalPlugin : public DoricNativePlugin { Q_OBJECT public: using DoricNativePlugin::DoricNativePlugin; Q_INVOKABLE void toast(QString jsValueString, QString callbackId); Q_INVOKABLE void alert(QString jsValueString, QString callbackId); Q_INVOKABLE void confirm(QString jsValueString, QString callbackId); void onAccepted(QString callbackId); void onRejected(QString callbackId); }; #endif // DORICMODALPLUGIN_H