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

30 lines
706 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(); // Deprecated
Q_SCRIPTABLE void startBluetoothServer();
Q_SCRIPTABLE void stopBluetoothServer();
signals:
void enableBluetoothServerCalled();
void startBluetoothServerRequested();
void stopBluetoothServerRequested();
private:
QDBusConnection m_connection;
};
#endif // NYMEANETWORKMANAGERDBUSSERVICE_H