|
libdrmconf 0.14.1
A library to program DMR radios.
|
Implements the translation between color names and code. More...
#include <dm32uv_codeplug.hh>
Public Types | |
| enum class | Code { White = 0 , Black = 1 , Orange = 2 , Red = 3 , Yellow = 4 , Green = 5 , Cyan = 6 , Blue = 7 } |
Static Public Member Functions | |
| static unsigned int | encode (Code name) |
| static Code | decode (unsigned int code) |
Implements the translation between color names and code.
For now, this struct is futile but becomes necessary, once there is a common color name scheme.