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

26 lines
690 B
C++
Raw Normal View History

2017-11-08 21:15:07 +01:00
#include <QtQml>
#include "systemdispatcherproxy.h"
#include "AndroidNative/systemdispatcher.h"
AndroidNative::SystemDispatcherProxy::SystemDispatcherProxy(QObject *parent) : QObject(parent)
{
connect(SystemDispatcher::instance(),SIGNAL(dispatched(QString,QVariantMap)),
this,SIGNAL(dispatched(QString,QVariantMap)));
}
AndroidNative::SystemDispatcherProxy::~SystemDispatcherProxy()
{
}
void AndroidNative::SystemDispatcherProxy::dispatch(QString type, QVariantMap message)
{
SystemDispatcher::instance()->dispatch(type,message);
}
void AndroidNative::SystemDispatcherProxy::loadClass(QString className)
{
SystemDispatcher::instance()->loadClass(className);
}