summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/serverinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base/serverinfo.h')
-rw-r--r--rbutil/rbutilqt/base/serverinfo.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/serverinfo.h b/rbutil/rbutilqt/base/serverinfo.h
index 7588521b09..6c68bd3f5d 100644
--- a/rbutil/rbutilqt/base/serverinfo.h
+++ b/rbutil/rbutilqt/base/serverinfo.h
@@ -22,6 +22,10 @@
#define SERVERINFO_H
#include <QtCore>
+#define STATUS_RETIRED 0
+#define STATUS_UNUSABLE 1
+#define STATUS_UNSTABLE 2
+#define STATUS_STABLE 3
class ServerInfo : public QObject
{
@@ -47,10 +51,10 @@ class ServerInfo : public QObject
static void readBuildInfo(QString file);
//! get a value from server info for a named platform.
static QVariant platformValue(enum ServerInfos setting, QString platform = "");
+ //! Convert status number to string
+ static QString statusToString(int status);
private:
- //! set a value for a server info for a named platform.
- static void setPlatformValue(enum ServerInfos setting, QString platform, QVariant value);
//! you shouldnt call this, its a fully static class
ServerInfo() {}