Reworked data types, part II

This commit is contained in:
2025-12-21 18:31:16 +01:00
parent cb9eb8c3fe
commit e3c26ffa34
12 changed files with 85 additions and 68 deletions

14
bc.h
View File

@@ -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