1
0
forked from blue/squawk
squawk/global.h
2019-04-02 18:46:18 +03:00

22 lines
451 B
C++

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