Reworked data types, part II
This commit is contained in:
14
bc.h
14
bc.h
@@ -37,6 +37,20 @@
|
||||
|
||||
using bcdata_t = uint8_t;
|
||||
|
||||
|
||||
/**
|
||||
* @brief Simple exception class
|
||||
*/
|
||||
|
||||
class BCException : public std::runtime_error
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
BCException( const QString& what, const QString& param="" );
|
||||
BCException( const QString& what, int errCode );
|
||||
};
|
||||
|
||||
namespace bc
|
||||
{
|
||||
[[maybe_unused]] constexpr static double UNLIMITED_SPEED_VALUE = 70; // Km/h
|
||||
|
||||
Reference in New Issue
Block a user