platform/wm/rhodes/bluetooth/Bluetooth.h in rhodes-3.4.2 vs platform/wm/rhodes/bluetooth/Bluetooth.h in rhodes-3.5.1.12
- old
+ new
@@ -223,11 +223,11 @@
int GetDeviceInfo(RhoDeviceInfo *pPeerDeviceInfo, int iSelectedItem);
int GetGUID(WCHAR *psz, GUID *pGUID) ;
- void fireCreateSessionCallBack(const char* status, const char* connected_device_name);
+ void fireCreateSessionCallBack(const char* status, const char* connected_device_name, bool in_thread = false);
void onDiscoverDlgSelectDevice(int index);
void onDiscoverDlgCancel();
void onDiscoveredDlgCancel();
void onServerConnectionCreated();
@@ -242,11 +242,11 @@
void terminateDiscoverThread();
void terminateDiscoveredThread();
private:
- void fireRhodeCallback(const char* callback_url, const char* body);
- void fireSessionCallBack(const char* connected_device_name, const char* event_type);
+ void fireRhodeCallback(const char* callback_url, const char* body, bool in_thread = false);
+ void fireSessionCallBack(const char* connected_device_name, const char* event_type, bool in_thread = false);
void init();
void freeAll();
void freeAllBlocks();
int getBlocksSummarySizeFromBlock(RhoDataBlock* block);