This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-app/libnymea-app-core/usersmanager.cpp
2020-02-26 16:12:54 +01:00

21 lines
432 B
C++

#include "usersmanager.h"
#include <QDebug>
UsersManager::UsersManager(JsonRpcClient *client, QObject *parent):
JsonHandler(parent),
m_jsonRpcClient(client)
{
m_jsonRpcClient->registerNotificationHandler(this, "notificationReceived");
}
QString UsersManager::nameSpace() const
{
return "Users";
}
void UsersManager::notificationReceived(const QVariantMap &data)
{
qDebug() << "Users notification" << data;
}