2022-12-11 21:31:45 +00:00
|
|
|
#[repr(i32)]
|
|
|
|
pub enum ExitCode {
|
|
|
|
GtkDisplay = 1,
|
|
|
|
CreateBars = 2,
|
|
|
|
}
|
|
|
|
|
2023-04-29 22:08:02 +01:00
|
|
|
pub const ERR_OUTPUTS: &str = "GTK and Wayland are reporting a different set of outputs - this is a severe bug and should never happen";
|
2022-12-11 21:31:45 +00:00
|
|
|
pub const ERR_MUTEX_LOCK: &str = "Failed to get lock on Mutex";
|
|
|
|
pub const ERR_READ_LOCK: &str = "Failed to get read lock";
|
|
|
|
pub const ERR_WRITE_LOCK: &str = "Failed to get write lock";
|
|
|
|
pub const ERR_CHANNEL_SEND: &str = "Failed to send message to channel";
|
|
|
|
pub const ERR_CHANNEL_RECV: &str = "Failed to receive message from channel";
|
2023-04-29 22:08:02 +01:00
|
|
|
|
|
|
|
pub const ERR_WAYLAND_DATA: &str = "Failed to get data for Wayland object";
|