summaryrefslogtreecommitdiffhomepage
path: root/Private/Source
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-03-05 16:56:43 +0000
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-03-05 16:56:43 +0000
commite430bfff418489e34b37653b85ce358e0df7fd51 (patch)
treeb7c118158817d310c8418d946f127d93675ed84b /Private/Source
parent3f898e74b7666acf51da16b03c2866ce379d8eb2 (diff)
parent0ecf818273008e96032ba5013ec55372c6a82e92 (diff)
Merge branch 'Amllx-trunk-patch-989e' into 'trunk'
Kernel: merge new network code into trunk. See merge request mahrouss-logic/micro-kernel!11
Diffstat (limited to 'Private/Source')
-rw-r--r--Private/Source/Network/NetworkDevice.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/Private/Source/Network/NetworkDevice.cxx b/Private/Source/Network/NetworkDevice.cxx
index 0d9af73d..eba95a2c 100644
--- a/Private/Source/Network/NetworkDevice.cxx
+++ b/Private/Source/Network/NetworkDevice.cxx
@@ -6,24 +6,6 @@
#include <NetworkKit/NetworkDevice.hpp>
-// network devices implementation.
-// PPPNetworkService, TCPNetworkDevice, UDPNetworkService
-
namespace HCore {
-NetworkDevice::NetworkDevice(void (*out)(NetworkDeviceCommand),
- void (*in)(NetworkDeviceCommand),
- void (*on_cleanup)(void))
- : DeviceInterface<NetworkDeviceCommand>(out, in), fCleanup(on_cleanup) {
-#ifdef __DEBUG__
- kcout << "NetworkDevice init.\r\n";
-#endif
-}
-
-NetworkDevice::~NetworkDevice() {
-#ifdef __DEBUG__
- kcout << "NetworkDevice cleanup.\r\n";
-#endif
- if (fCleanup) fCleanup();
-}
} // namespace HCore