2017-07-03 09:33:28 +02:00
|
|
|
/*!
|
|
|
|
* \brief Global definitions for device error codes.
|
|
|
|
*
|
2018-03-28 15:10:51 +02:00
|
|
|
* \copyright Copyright (c) 2017-2018 Governikus GmbH & Co. KG, Germany
|
2017-07-03 09:33:28 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "EnumHelper.h"
|
|
|
|
|
|
|
|
namespace governikus
|
|
|
|
{
|
|
|
|
|
2017-12-20 14:54:05 +01:00
|
|
|
class GlobalStatus;
|
|
|
|
|
|
|
|
|
2017-07-03 09:33:28 +02:00
|
|
|
defineEnumType(DeviceError,
|
|
|
|
UNKNOWN_ERROR,
|
|
|
|
DEVICE_CONNECTION_ERROR,
|
|
|
|
DEVICE_POWERED_OFF,
|
|
|
|
DEVICE_SCAN_ERROR)
|
|
|
|
|
|
|
|
namespace DeviceErrorUtil
|
|
|
|
{
|
|
|
|
GlobalStatus toGlobalStatus(DeviceError pDeviceError);
|
|
|
|
} /* namespace DeviceErrorUtil */
|
|
|
|
|
|
|
|
} /* namespace governikus */
|