Renamed types.hpp to transport_address.hpp.
This commit is contained in:
parent
83154ae3a7
commit
ef310a5666
@ -21,6 +21,7 @@
|
|||||||
#include "config/user_config.hpp"
|
#include "config/user_config.hpp"
|
||||||
#include "io/file_manager.hpp"
|
#include "io/file_manager.hpp"
|
||||||
#include "network/network_string.hpp"
|
#include "network/network_string.hpp"
|
||||||
|
#include "network/transport_address.hpp"
|
||||||
#include "utils/time.hpp"
|
#include "utils/time.hpp"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
#ifndef HEADER_NETWORK_HPP
|
#ifndef HEADER_NETWORK_HPP
|
||||||
#define HEADER_NETWORK_HPP
|
#define HEADER_NETWORK_HPP
|
||||||
|
|
||||||
#include "network/types.hpp"
|
|
||||||
#include "utils/synchronised.hpp"
|
#include "utils/synchronised.hpp"
|
||||||
|
#include "utils/types.hpp"
|
||||||
|
|
||||||
// enet.h includes win32.h, which without lean_and_mean includes
|
// enet.h includes win32.h, which without lean_and_mean includes
|
||||||
// winspool.h, which defines MAX_PRIORITY as a macro, which then
|
// winspool.h, which defines MAX_PRIORITY as a macro, which then
|
||||||
@ -31,7 +31,10 @@
|
|||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <enet/enet.h>
|
#include <enet/enet.h>
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
class NetworkString;
|
class NetworkString;
|
||||||
|
class TransportAddress;
|
||||||
|
|
||||||
/** \class EnetHost
|
/** \class EnetHost
|
||||||
* A small wrapper around enet to allow sending and receiving
|
* A small wrapper around enet to allow sending and receiving
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
#define PROTOCOL_HPP
|
#define PROTOCOL_HPP
|
||||||
|
|
||||||
#include "network/network_string.hpp"
|
#include "network/network_string.hpp"
|
||||||
#include "network/types.hpp"
|
|
||||||
#include "utils/leak_check.hpp"
|
#include "utils/leak_check.hpp"
|
||||||
#include "utils/no_copy.hpp"
|
#include "utils/no_copy.hpp"
|
||||||
#include "utils/types.hpp"
|
#include "utils/types.hpp"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define CLIENT_LOBBY_ROOM_PROTOCOL_HPP
|
#define CLIENT_LOBBY_ROOM_PROTOCOL_HPP
|
||||||
|
|
||||||
#include "network/protocols/lobby_room_protocol.hpp"
|
#include "network/protocols/lobby_room_protocol.hpp"
|
||||||
#include "network/types.hpp"
|
#include "network/transport_address.hpp"
|
||||||
|
|
||||||
class STKPeer;
|
class STKPeer;
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#define CONNECT_TO_SERVER_HPP
|
#define CONNECT_TO_SERVER_HPP
|
||||||
|
|
||||||
#include "network/protocol.hpp"
|
#include "network/protocol.hpp"
|
||||||
#include "network/types.hpp"
|
#include "network/transport_address.hpp"
|
||||||
#include "utils/cpp2011.hpp"
|
#include "utils/cpp2011.hpp"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#define CONNECT_TO_SERVER_HPP
|
#define CONNECT_TO_SERVER_HPP
|
||||||
|
|
||||||
#include "network/protocol.hpp"
|
#include "network/protocol.hpp"
|
||||||
#include "network/types.hpp"
|
#include "network/transport_address.hpp"
|
||||||
#include "utils/cpp2011.hpp"
|
#include "utils/cpp2011.hpp"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#define GET_PEER_ADDRESS_HPP
|
#define GET_PEER_ADDRESS_HPP
|
||||||
|
|
||||||
#include "network/protocol.hpp"
|
#include "network/protocol.hpp"
|
||||||
|
#include "network/transport_address.hpp"
|
||||||
|
|
||||||
namespace Online { class XMLRequest; }
|
namespace Online { class XMLRequest; }
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define PING_PROTOCOL_HPP
|
#define PING_PROTOCOL_HPP
|
||||||
|
|
||||||
#include "network/protocol.hpp"
|
#include "network/protocol.hpp"
|
||||||
|
#include "network/transport_address.hpp"
|
||||||
|
|
||||||
class PingProtocol : public Protocol
|
class PingProtocol : public Protocol
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "network/network.hpp"
|
#include "network/network.hpp"
|
||||||
#include "network/network_string.hpp"
|
#include "network/network_string.hpp"
|
||||||
#include "network/types.hpp"
|
#include "network/transport_address.hpp"
|
||||||
#include "utils/synchronised.hpp"
|
#include "utils/synchronised.hpp"
|
||||||
|
|
||||||
// enet.h includes win32.h, which without lean_and_mean includes
|
// enet.h includes win32.h, which without lean_and_mean includes
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#include "network/stk_peer.hpp"
|
#include "network/stk_peer.hpp"
|
||||||
#include "network/game_setup.hpp"
|
#include "network/game_setup.hpp"
|
||||||
#include "network/network_string.hpp"
|
#include "network/network_string.hpp"
|
||||||
#include "network/types.hpp"
|
#include "network/transport_address.hpp"
|
||||||
#include "utils/log.hpp"
|
#include "utils/log.hpp"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
/*! \file types.hpp
|
/*! \file types.hpp
|
||||||
* \brief Declares the general types that are used by the network.
|
* \brief Declares the general types that are used by the network.
|
||||||
*/
|
*/
|
||||||
#ifndef HEADER_NETWORK_TYPES_HPP
|
#ifndef HEADER_TRANSPORT_ADDRESS_HPP
|
||||||
#define HEADER_NETWORK_TYPES_HPP
|
#define HEADER_TRANSPORT_ADDRESS_HPP
|
||||||
|
|
||||||
#include "utils/no_copy.hpp"
|
#include "utils/no_copy.hpp"
|
||||||
#include "utils/string_utils.hpp"
|
#include "utils/string_utils.hpp"
|
Loading…
Reference in New Issue
Block a user