refactor and shizz
This commit is contained in:
@@ -8,15 +8,13 @@
|
||||
#include "sigc++/signal.h"
|
||||
|
||||
class BluetoothService {
|
||||
static BluetoothService *instance;
|
||||
inline static BluetoothService *instance = nullptr;
|
||||
|
||||
public:
|
||||
sigc::signal<void(bool)> powerStateChangedSignal;
|
||||
|
||||
sigc::signal<void(bool)> isDiscoveringChangedSignal;
|
||||
|
||||
bool getPowerState();
|
||||
|
||||
bool getIsDiscovering();
|
||||
|
||||
void togglePowerState();
|
||||
|
||||
Reference in New Issue
Block a user