Update to use Libraries and fix include order

This commit is contained in:
2020-03-07 14:46:26 +01:00
parent 3b7491f57d
commit 157b1ceb51
32 changed files with 114 additions and 1405 deletions
+7 -7
View File
@@ -1,11 +1,11 @@
#ifndef BLUETOOTH_DEVICE_H
#define BLUETOOTH_DEVICE_H
#include "Util/Device.h"
#include <HttpClient.h>
#include <Timer.h>
#include <string>
#include <vector>
#include "Util/Device.h"
#include "Util/Timer.h"
#include "Util/HttpClient.h"
namespace PresenceDetection {
@@ -30,10 +30,10 @@ private:
void SendStateChange(bool present, const std::string& macAddress);
private:
Util::Timer m_onlineDeviceTimer;
Util::Timer m_offlineDeviceTimer;
Util::Timer m_inventoryTimer;
Util::HttpClient m_httpClient;
Timer::Timer m_onlineDeviceTimer;
Timer::Timer m_offlineDeviceTimer;
Timer::Timer m_inventoryTimer;
Http::HttpClient m_httpClient;
std::vector<std::string> m_devices;