Give enums a unique ID

This commit is contained in:
blankie 2023-01-23 16:10:01 +07:00
parent 49eca27204
commit defaa53a40
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 13 additions and 13 deletions

View File

@ -4,22 +4,22 @@
#include <optional>
enum class Buffer {
Unknown,
Main,
System,
Radio,
Events,
Crash,
Unknown = 0b1,
Main = 0b10,
System = 0b100,
Radio = 0b1000,
Events = 0b10000,
Crash = 0b100000,
};
enum class Priority {
Unknown,
Verbose,
Debug,
Info,
Warn,
Error,
Fatal,
Unknown = 0b1,
Verbose = 0b10,
Debug = 0b100,
Info = 0b1000,
Warn = 0b10000,
Error = 0b100000,
Fatal = 0b1000000,
};
struct LogcatEntry {