summaryrefslogtreecommitdiff
path: root/src/net/serverinfo.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-02-28 15:24:46 -0700
committerJared Adams <jaxad0127@gmail.com>2010-02-28 15:55:39 -0700
commite933e3a1c5bd2af8acb62f8f85750638262a4eef (patch)
tree4680169d72279a22e9d0d16cabef5b155682c0e9 /src/net/serverinfo.h
parent802bb1289f25be47d1897fe05871b561f82f9498 (diff)
downloadmana-client-e933e3a1c5bd2af8acb62f8f85750638262a4eef.tar.gz
mana-client-e933e3a1c5bd2af8acb62f8f85750638262a4eef.tar.bz2
mana-client-e933e3a1c5bd2af8acb62f8f85750638262a4eef.tar.xz
mana-client-e933e3a1c5bd2af8acb62f8f85750638262a4eef.zip
Add delete button to ServerDialog and only save saved servers
Reviewed-by: Thorbjørn Lindeijer
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r--src/net/serverinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index a1e22ce7..63d50ce4 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -41,10 +41,13 @@ public:
std::string hostname;
unsigned short port;
+ bool save;
+
ServerInfo()
{
type = UNKNOWN;
port = 0;
+ save = false;
}
ServerInfo(const ServerInfo &info)
@@ -53,6 +56,7 @@ public:
name = info.name;
hostname = info.hostname;
port = info.port;
+ save = info.save;
}
bool isValid() const