#ifndef GLOBAL_H #define GLOBAL_H #include #include namespace Shared { enum ConnectionState { disconnected, connecting, connected, error }; static const std::deque ConnectionStateNames = {"Disconnected", "Connecting", "Connected", "Error"}; static const std::deque ConnectionStateThemeIcons = {"network-disconnect", "view-refresh", "network-connect", "state-error"}; }; #endif // GLOBAL_H