Friendiqa/source-android/androidnative.pri/cpp/AndroidNative/priv/systemdispatcherproxy.cpp
2018-04-11 21:50:43 +02:00

31 lines
807 B
C++

#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);
}
void AndroidNative::SystemDispatcherProxy::setInitialized()
{
SystemDispatcher::instance()->setInitialized();
}