aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/net
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-19 08:36:44 +0800
committerchai <chaifix@163.com>2018-10-19 08:36:44 +0800
commit7d5f055547e70fa93ee9ac944e62f8d657b9dc55 (patch)
tree081782a1541854db4b8eb69c4b43081f52711286 /src/libjin/net
parent02dd1f38008594048f0e28bad01e7c6d18844198 (diff)
*修改文件名
Diffstat (limited to 'src/libjin/net')
-rw-r--r--src/libjin/net/net.cpp24
-rw-r--r--src/libjin/net/net.h31
2 files changed, 0 insertions, 55 deletions
diff --git a/src/libjin/net/net.cpp b/src/libjin/net/net.cpp
deleted file mode 100644
index 940b239..0000000
--- a/src/libjin/net/net.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include "Net.h"
-
-namespace jin
-{
- namespace net
- {
-
- bool Net::initSystem(const SettingBase* setting)
- {
- #ifdef _WIN32
- #if LIBJIN_NET_TEKCOS
- tk_init();
- #endif
- #endif
- return true;
- }
-
- void Net::quitSystem()
- {
-
- }
-
- } // namespace net
-} // namespace jin \ No newline at end of file
diff --git a/src/libjin/net/net.h b/src/libjin/net/net.h
deleted file mode 100644
index 3324d11..0000000
--- a/src/libjin/net/net.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef __LIBJIN_NET_H
-#define __LIBJIN_NET_H
-#include "../configuration.h"
-#if LIBJIN_MODULES_NET
-
-#include "../Common/Subsystem.hpp"
-#include "Socket.h"
-
-namespace jin
-{
- namespace net
- {
-
- class Net : public Subsystem<Net>
- {
- public:
-
- protected:
- singleton(Net);
- Net() {};
- ~Net() {};
- bool initSystem(const SettingBase* setting) override;
- void quitSystem() override;
-
- };
-
- } // namespace net
-} // namespace jin
-
-#endif // LIBJIN_MODULES_NET
-#endif // __LIBJIN_NET_H