Fix Include order
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#include "BroadcastClientImpl.h"
|
|
||||||
#include "BroadcastClient.h"
|
#include "BroadcastClient.h"
|
||||||
|
#include "BroadcastClientImpl.h"
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
@@ -27,4 +27,3 @@ void BroadcastClient::Broadcast(const std::string& data, int sourcePort)
|
|||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Network
|
} // namespace Network
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#ifndef NETWORK_BROADCASTCLIENTIMPL_H
|
#ifndef NETWORK_BROADCASTCLIENTIMPL_H
|
||||||
#define NETWORK_BROADCASTCLIENTIMPL_H
|
#define NETWORK_BROADCASTCLIENTIMPL_H
|
||||||
|
|
||||||
|
#include "UdpClientImpl.h"
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "UdpClientImpl.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#include "BroadcastServerImpl.h"
|
|
||||||
#include "BroadcastServer.h"
|
#include "BroadcastServer.h"
|
||||||
|
#include "BroadcastServerImpl.h"
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
@@ -27,4 +27,3 @@ void BroadcastServer::Broadcast(const std::string& data, int sourcePort)
|
|||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Network
|
} // namespace Network
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#ifndef NETWORK_BROADCASTSERVER_IMPL_H
|
#ifndef NETWORK_BROADCASTSERVER_IMPL_H
|
||||||
#define NETWORK_BROADCASTSERVER_IMPL_H
|
#define NETWORK_BROADCASTSERVER_IMPL_H
|
||||||
|
|
||||||
|
#include "UdpClientImpl.h"
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "UdpClientImpl.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#include "IcmpClientImpl.h"
|
|
||||||
#include "IcmpClient.h"
|
#include "IcmpClient.h"
|
||||||
|
#include "IcmpClientImpl.h"
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
@@ -17,4 +17,3 @@ bool IcmpClient::Ping(const std::string& targetAddress)
|
|||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Network
|
} // namespace Network
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#include <chrono>
|
|
||||||
#include "IcmpClientImpl.h"
|
#include "IcmpClientImpl.h"
|
||||||
|
#include <chrono>
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
#ifndef NETWORK_ICMPCLIENTIMPL_H
|
#ifndef NETWORK_ICMPCLIENTIMPL_H
|
||||||
#define NETWORK_ICMPCLIENTIMPL_H
|
#define NETWORK_ICMPCLIENTIMPL_H
|
||||||
|
|
||||||
|
#include "Ipv4Header.h"
|
||||||
|
#include "IcmpHeader.h"
|
||||||
|
#include "asio.hpp"
|
||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "asio.hpp"
|
|
||||||
#include "Ipv4Header.h"
|
|
||||||
#include "IcmpHeader.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#ifndef ICMPHEADER_H
|
#ifndef ICMPHEADER_H
|
||||||
#define ICMPHEADER_H
|
#define ICMPHEADER_H
|
||||||
|
|
||||||
#include <istream>
|
|
||||||
#include "asio.hpp"
|
#include "asio.hpp"
|
||||||
|
#include <istream>
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#ifndef IPV4HEADER_H
|
#ifndef IPV4HEADER_H
|
||||||
#define IPV4HEADER_H
|
#define IPV4HEADER_H
|
||||||
|
|
||||||
#include <istream>
|
|
||||||
#include "asio.hpp"
|
#include "asio.hpp"
|
||||||
|
#include <istream>
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#include "MulticastClientImpl.h"
|
|
||||||
#include "MulticastClient.h"
|
#include "MulticastClient.h"
|
||||||
|
#include "MulticastClientImpl.h"
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
@@ -27,4 +27,3 @@ void MulticastClient::Broadcast(const std::string& data, int sourcePort)
|
|||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Network
|
} // namespace Network
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#ifndef NETWORK_MULTICASTCLIENTIMPL_H
|
#ifndef NETWORK_MULTICASTCLIENTIMPL_H
|
||||||
#define NETWORK_MULTICASTCLIENTIMPL_H
|
#define NETWORK_MULTICASTCLIENTIMPL_H
|
||||||
|
|
||||||
|
#include "UdpClientImpl.h"
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "UdpClientImpl.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#include "UdpClientImpl.h"
|
|
||||||
#include "UdpClient.h"
|
#include "UdpClient.h"
|
||||||
|
#include "UdpClientImpl.h"
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
@@ -27,4 +27,3 @@ void UdpClient::Broadcast(const std::string& data, int sourcePort)
|
|||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Network
|
} // namespace Network
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#include "Logging.h"
|
|
||||||
#include "UdpClientImpl.h"
|
#include "UdpClientImpl.h"
|
||||||
|
#include "Logging.h"
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
#ifndef NETWORK_UDPCLIENTIMPL_H
|
#ifndef NETWORK_UDPCLIENTIMPL_H
|
||||||
#define NETWORK_UDPCLIENTIMPL_H
|
#define NETWORK_UDPCLIENTIMPL_H
|
||||||
|
|
||||||
|
#include "asio.hpp"
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "asio.hpp"
|
|
||||||
|
|
||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
|
|||||||
+1
-2
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
namespace Network {
|
namespace Network {
|
||||||
|
|
||||||
class m_pUdpClientImpl;
|
class UdpClientImpl;
|
||||||
|
|
||||||
class UdpClient
|
class UdpClient
|
||||||
{
|
{
|
||||||
@@ -29,4 +29,3 @@ private:
|
|||||||
} // namespace Network
|
} // namespace Network
|
||||||
|
|
||||||
#endif // UDPCLIENT_H
|
#endif // UDPCLIENT_H
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user