Removed some unnecessary #includes.

This commit is contained in:
hiker 2015-10-21 17:31:33 +11:00
parent 1a0fb9fa4c
commit 841d9b248e
9 changed files with 18 additions and 11 deletions

View File

@ -18,14 +18,8 @@
#include "network/network_manager.hpp"
#include "network/protocols/hide_public_address.hpp"
#include "network/protocols/show_public_address.hpp"
#include "network/protocols/get_public_address.hpp"
#include "network/event.hpp"
#include "network/protocol_manager.hpp"
#include "network/client_network_manager.hpp"
#include "network/server_network_manager.hpp"
#include "utils/log.hpp"
#include <pthread.h>

View File

@ -28,13 +28,14 @@
#include "network/protocol_manager.hpp"
#include "network/types.hpp"
#include "network/event.hpp"
#include "network/game_setup.hpp"
#include "utils/singleton.hpp"
#include "utils/synchronised.hpp"
#include <vector>
class Event;
/** \class NetworkManager
* \brief Gives the general functions to use network communication.
* This class is in charge of storing the peers connected to this host.

View File

@ -18,8 +18,9 @@
#include "network/protocol.hpp"
#include "network/protocol_manager.hpp"
#include "network/event.hpp"
#include "network/network_manager.hpp"
#include "network/protocol_manager.hpp"
Protocol::Protocol(CallbackObject* callback_object, PROTOCOL_TYPE type)
{

View File

@ -23,10 +23,11 @@
#ifndef PROTOCOL_HPP
#define PROTOCOL_HPP
#include "network/event.hpp"
#include "network/network_string.hpp"
#include "network/types.hpp"
#include "utils/types.hpp"
class Event;
class ProtocolManager;
/** \enum PROTOCOL_TYPE

View File

@ -2,6 +2,9 @@
#define CLIENT_LOBBY_ROOM_PROTOCOL_HPP
#include "network/protocols/lobby_room_protocol.hpp"
#include "network/types.hpp"
class STKPeer;
class ClientLobbyRoomProtocol : public LobbyRoomProtocol
{

View File

@ -2,6 +2,7 @@
#include "modes/world.hpp"
#include "karts/abstract_kart.hpp"
#include "karts/controller/controller.hpp"
#include "network/network_manager.hpp"
#include "network/network_world.hpp"
#include "utils/log.hpp"

View File

@ -4,7 +4,9 @@
#include "network/protocol.hpp"
#include "input/input.hpp"
#include "karts/controller/controller.hpp"
class Controller;
class STKPeer;
class ControllerEventsProtocol : public Protocol
{

View File

@ -23,6 +23,8 @@
#include <string>
class STKHost;
class GetPublicAddress : public Protocol
{
public:

View File

@ -4,7 +4,9 @@
#include "network/protocol.hpp"
#include "utils/vec3.hpp"
#include "LinearMath/btQuaternion.h"
#include <list>
#include "pthread.h"
class AbstractKart;