Friendiqa/source-android/androidnative.pri/cpp/AndroidNative/priv/systemdispatcherproxy.h

26 lines
535 B
C
Raw Normal View History

2017-11-08 21:15:07 +01:00
#pragma once
#include <QObject>
#include <QVariantMap>
namespace AndroidNative {
class SystemDispatcherProxy : public QObject
{
Q_OBJECT
public:
explicit SystemDispatcherProxy(QObject *parent = 0);
~SystemDispatcherProxy();
Q_INVOKABLE void dispatch(QString type, QVariantMap message = QVariantMap());
Q_INVOKABLE void loadClass(QString className);
2018-04-11 21:50:43 +02:00
Q_INVOKABLE void setInitialized();
2017-11-08 21:15:07 +01:00
signals:
void dispatched(QString type , QVariantMap message);
};
}