#pragma once #include #include // no-op base hw class class HardwareNone { public: enum Type { typePC, typeEON, typeTICI }; static constexpr float MAX_VOLUME = 0; static constexpr float MIN_VOLUME = 0; static std::string get_os_version() { return "openpilot for PC"; } static void reboot() {} static void poweroff() {} static void set_brightness(int percent) {} static void set_display_power(bool on) {} static bool get_ssh_enabled() { return false; } static void set_ssh_enabled(bool enabled) {} static Type type() { return typePC; } static bool PC() { return type() == typePC; } static bool EON() { return type() == typeEON; } static bool TICI() { return type() == typeTICI; } };