summaryrefslogtreecommitdiff
path: root/src/net/serverinfo.h
diff options
context:
space:
mode:
authorTametomo <irarice@gmail.com>2009-05-05 07:11:44 -0600
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-07 01:18:05 +0200
commit67f53660db85c2f325472701517e04c446ec8ed4 (patch)
tree1f04d3e4ed3b636cfc30a377fb55e7191ff72b08 /src/net/serverinfo.h
parent504222b812b41d37b5a1b28393f66fd292bf9f87 (diff)
downloadmana-client-67f53660db85c2f325472701517e04c446ec8ed4.tar.gz
mana-client-67f53660db85c2f325472701517e04c446ec8ed4.tar.bz2
mana-client-67f53660db85c2f325472701517e04c446ec8ed4.tar.xz
mana-client-67f53660db85c2f325472701517e04c446ec8ed4.zip
Moved two files which held net data into the net folder. Considering
their function, this is a much better place to put them. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r--src/net/serverinfo.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
new file mode 100644
index 00000000..c38d13c7
--- /dev/null
+++ b/src/net/serverinfo.h
@@ -0,0 +1,36 @@
+/*
+ * The Mana World
+ * Copyright (C) 2004 The Mana World Development Team
+ *
+ * This file is part of The Mana World.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef SERVERINFO_
+#define SERVERINFO_
+
+#include <string>
+
+struct SERVER_INFO
+{
+ int address;
+ short port;
+ std::string name;
+ short online_users;
+ std::string updateHost;
+};
+
+#endif