summaryrefslogtreecommitdiff
path: root/server/lobby.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/lobby.h')
-rw-r--r--server/lobby.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/server/lobby.h b/server/lobby.h
deleted file mode 100644
index c445506..0000000
--- a/server/lobby.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef LOBBY_H
-#define LOBBY_H
-
-#include <boost/asio.hpp>
-
-#include <vector>
-
-#include "tcpserver.h"
-#include "client.h"
-
-class Lobby {
- private:
- boost::asio::io_service io_service;
- TCPServer server;
-
- std::vector<Client::p> waiting;
-
- //! Handle new connection.
- void handle_connect(Connection::p connection);
-
- //! Handle login.
- void handle_login(Connection::p connection, Message::p msg);
-
- //! Handle action.
- void handle_action(Client::p client, int game_mode);
-
- public:
- Lobby();
-
- void run();
-};
-
-#endif