Skip to content

Commit

Permalink
Review include files
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Sep 23, 2023
1 parent d1da0a7 commit d7c371e
Show file tree
Hide file tree
Showing 28 changed files with 96 additions and 95 deletions.
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/address_family.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/io_control_code.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../ip_address.h"
#include "../ip_address"

/// @cond
#undef unix
Expand Down
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/ip_protection_level.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
10 changes: 5 additions & 5 deletions src/xtd.core/include/xtd/net/sockets/ip_v6_multicast_option.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../core_export.h"
#include "../../object.h"
#include "../../types.h"
#include "../../ustring.h"
#include "../ip_address.h"
#include "../ip_address"
#include "../../core_export"
#include "../../object"
#include "../../types"
#include "../../ustring"

/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace xtd {
Expand Down
10 changes: 5 additions & 5 deletions src/xtd.core/include/xtd/net/sockets/linger_option.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../core_export.h"
#include "../../object.h"
#include "../../types.h"
#include "../../ustring.h"
#include "../ip_address.h"
#include "../ip_address"
#include "../../core_export"
#include "../../object"
#include "../../types"
#include "../../ustring"

/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace xtd {
Expand Down
10 changes: 5 additions & 5 deletions src/xtd.core/include/xtd/net/sockets/multicast_option.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../core_export.h"
#include "../../object.h"
#include "../../types.h"
#include "../../ustring.h"
#include "../ip_address.h"
#include "../ip_address"
#include "../../core_export"
#include "../../object"
#include "../../types"
#include "../../ustring"

/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace xtd {
Expand Down
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/network_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "socket"
#include <iostream>
#include "socket.h"

/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace xtd {
Expand Down
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/protocol_family.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/protocol_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/select_mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
4 changes: 2 additions & 2 deletions src/xtd.core/include/xtd/net/sockets/send_packets_element.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../ip_address"
#include "../../ustring"
#include <fstream>
#include <functional>
#include <vector>
#include "../../ustring.h"
#include "../ip_address.h"

/// @cond
#undef unix
Expand Down
58 changes: 29 additions & 29 deletions src/xtd.core/include/xtd/net/sockets/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,36 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "address_family"
#include "io_control_code"
#include "ip_packet_information"
#include "ip_protection_level"
#include "linger_option"
#include "multicast_option"
#include "ip_v6_multicast_option"
#include "protocol_type"
#include "select_mode"
#include "socket_error"
#include "socket_flags"
#include "socket_information"
#include "socket_option_level"
#include "socket_option_name"
#include "socket_shutdown"
#include "socket_type"
#include "../end_point"
#include "../ip_address"
#include "../../threading/mutex"
#include "../../core_export"
#include "../../argument_exception"
#include "../../async_callback"
#include "../../iasync_result"
#include "../../iequatable"
#include "../../not_implemented_exception"
#include "../../not_supported_exception"
#include "../../object"
#include "../../types"
#include "../../ustring"
#include <memory>
#include "../../threading/mutex.h"
#include "../../core_export.h"
#include "../../argument_exception.h"
#include "../../async_callback.h"
#include "../../iasync_result.h"
#include "../../iequatable.h"
#include "../../not_implemented_exception.h"
#include "../../not_supported_exception.h"
#include "../../object.h"
#include "../../types.h"
#include "../../ustring.h"
#include "../end_point.h"
#include "../ip_address.h"
#include "address_family.h"
#include "io_control_code.h"
#include "ip_packet_information.h"
#include "ip_protection_level.h"
#include "linger_option.h"
#include "multicast_option.h"
#include "ip_v6_multicast_option.h"
#include "protocol_type.h"
#include "select_mode.h"
#include "socket_error.h"
#include "socket_flags.h"
#include "socket_information.h"
#include "socket_option_level.h"
#include "socket_option_name.h"
#include "socket_shutdown.h"
#include "socket_type.h"

/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace xtd {
Expand Down
20 changes: 10 additions & 10 deletions src/xtd.core/include/xtd/net/sockets/socket_async_event_args.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "ip_packet_information"
#include "socket"
#include "socket_flags"
#include "socket_async_operation"
#include "send_packets_element"
#include "transmit_file_options"
#include "../../any"
#include "../../delegate"
#include "../../event"
#include "../../event_args"
#include <memory>
#include <vector>
#include "../../any.h"
#include "../../delegate.h"
#include "../../event.h"
#include "../../event_args.h"
#include "ip_packet_information.h"
#include "socket.h"
#include "socket_flags.h"
#include "socket_async_operation.h"
#include "send_packets_element.h"
#include "transmit_file_options.h"

/// @cond
#undef unix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef accept
Expand Down
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/socket_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
5 changes: 3 additions & 2 deletions src/xtd.core/include/xtd/net/sockets/socket_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
/// @brief Contains xtd::net::sockets::socket_exception exception.
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once
#include "../../system_exception.h"
#include "socket_error.h"

#include "socket_error"
#include "../../system_exception"

/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace xtd {
Expand Down
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/socket_flags.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
10 changes: 5 additions & 5 deletions src/xtd.core/include/xtd/net/sockets/socket_information.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../core_export.h"
#include "../../object.h"
#include "../../types.h"
#include "../../ustring.h"
#include "socket_information_options.h"
#include "socket_information_options"
#include "../../core_export"
#include "../../object"
#include "../../types"
#include "../../ustring"

/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace xtd {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/socket_option_level.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/socket_option_name.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/socket_shutdown.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/net/sockets/socket_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef unix
Expand Down
12 changes: 6 additions & 6 deletions src/xtd.core/include/xtd/net/sockets/tcp_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../iequatable.h"
#include "../../object.h"
#include "../../ustring.h"
#include "../ip_end_point.h"
#include "network_stream.h"
#include "socket.h"
#include "network_stream"
#include "socket"
#include "../ip_end_point"
#include "../../iequatable"
#include "../../object"
#include "../../ustring"

/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace xtd {
Expand Down
6 changes: 3 additions & 3 deletions src/xtd.core/include/xtd/net/sockets/tcp_listener.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../threading/mutex.h"
#include "../../iequatable.h"
#include "tcp_client.h"
#include "tcp_client"
#include "../../threading/mutex"
#include "../../iequatable"

/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace xtd {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../enum.h"
#include "../../enum"

/// @cond
#undef disconnect
Expand Down
12 changes: 6 additions & 6 deletions src/xtd.core/include/xtd/net/sockets/udp_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once

#include "../../threading/mutex.h"
#include "../../iequatable.h"
#include "../../object.h"
#include "../../ustring.h"
#include "../ip_end_point.h"
#include "socket.h"
#include "socket"
#include "../ip_end_point"
#include "../../threading/mutex"
#include "../../iequatable"
#include "../../object"
#include "../../ustring"

/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace xtd {
Expand Down

0 comments on commit d7c371e

Please sign in to comment.