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-networkmanager/nymea-networkmanager/nymeanetworkmanagerdbusservice.h
Michael Zanetti 5a52c00596 Add a dbus interface to trigger the bluetooth server
Also fixes the button config not working at all
2021-03-25 23:47:39 +01:00

25 lines
517 B
C++

#ifndef NYMEANETWORKMANAGERDBUSSERVICE_H
#define NYMEANETWORKMANAGERDBUSSERVICE_H
#include <QObject>
#include <QDBusConnection>
class NymeaNetworkManagerDBusService : public QObject
{
Q_OBJECT
public:
explicit NymeaNetworkManagerDBusService(QDBusConnection::BusType busType, QObject *parent = nullptr);
public slots:
Q_SCRIPTABLE void enableBluetoothServer();
signals:
void enableBluetoothServerCalled();
private:
QDBusConnection m_connection;
};
#endif // NYMEANETWORKMANAGERDBUSSERVICE_H