Index: sources/view/VBluetooth.h =================================================================== diff -u -r5696b8db4628ee3143d93952c5dbdf511fa985b1 -r5220c64dd3a0fc9c322a68884e73503bb7893d12 --- sources/view/VBluetooth.h (.../VBluetooth.h) (revision 5696b8db4628ee3143d93952c5dbdf511fa985b1) +++ sources/view/VBluetooth.h (.../VBluetooth.h) (revision 5220c64dd3a0fc9c322a68884e73503bb7893d12) @@ -11,6 +11,7 @@ #include "GuiController.h" using namespace Gui; +using namespace Storage; // forward declarations class tst_views; @@ -32,6 +33,7 @@ QVariant doGetDevices(); QVariant doGetPairedDevices(); void doSelectDevice(const QString &addr); + void doSaveMyDevices(const QString &path = Bluetooth_Saved_Devices_Path_JSON); signals: void didDevicesChanged(); @@ -40,6 +42,7 @@ void didStatusChanged(); void didRequestScanForDevices(); void didPairedDevicesChanged(); + void didRequestConcurrentSave(QString, QString, bool); private: QList bleDevices; @@ -61,6 +64,7 @@ void onControllerError(QLowEnergyController::Error error); void onConnectedToDevice(const QBluetoothDeviceInfo &deviceInfo); void onDisconnectedFromDevice(const QBluetoothDeviceInfo &deviceInfo); + void onLoadMyDevices(const QString &path = Bluetooth_Saved_Devices_Path_JSON); }; } #endif // VBLUETOOTH_H