#ifndef UTIL_DEVICE_H #define UTIL_DEVICE_H #include namespace PresenceDetection { namespace Util { class Device { public: Device(const std::string& wifiMac, const std::string& bluetoothMac); Device(const Device &other); ~Device(); bool HasWifiMac() const; std::string WifiMac() const; void SetWifiState(bool present); bool GetWifiState() const; bool HasBluetoothMac() const; std::string BluetoothMac() const; void SetBluetoothState(bool present); bool GetBluetoothState() const; bool HasOnlineURL() const; void SetOnlineURL(const std::string& url); std::string OnlineURL() const; bool HasWifiOnlineURL() const; void SetWifiOnlineURL(const std::string& url); std::string WifiOnlineURL() const; bool HasBluetoothOnlineURL() const; void SetBluetoothOnlineURL(const std::string& url); std::string BluetoothOnlineURL() const; bool HasOfflineURL() const; void SetOfflineURL(const std::string& url); std::string OfflineURL() const; bool HasWifiOfflineURL() const; void SetWifiOfflineURL(const std::string& url); std::string WifiOfflineURL() const; bool HasBluetoothOfflineURL() const; void SetBluetoothOfflineURL(const std::string& url); std::string BluetoothOfflineURL() const; private: std::string m_wifiMac; bool m_wifiState; std::string m_bluetoothMac; bool m_bluetoothState; std::string m_onlineURL; std::string m_wifiOnlineURL; std::string m_bluetoothOnlineURL; std::string m_offlineURL; std::string m_wifiOfflineURL; std::string m_bluetoothOfflineURL; }; } // namespace Util } // namespace PresenceDetection #endif // UTIL_DEVICE_H