AusweisApp2/src/global/DeviceError.h

29 lines
480 B
C
Raw Normal View History

2017-07-03 09:33:28 +02:00
/*!
* \brief Global definitions for device error codes.
*
2017-12-20 14:54:05 +01:00
* \copyright Copyright (c) 2017 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 */