aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Net/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Net/net.h')
-rw-r--r--src/libjin/Net/net.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/libjin/Net/net.h b/src/libjin/Net/net.h
new file mode 100644
index 0000000..54ffede
--- /dev/null
+++ b/src/libjin/Net/net.h
@@ -0,0 +1,30 @@
+#ifndef __JIN_NET_H
+#define __JIN_NET_H
+#include "../modules.h"
+#if JIN_MODULES_NET
+
+#include "../Common/Subsystem.hpp"
+#include "Socket.h"
+
+namespace jin
+{
+namespace net
+{
+
+ class Net : public Subsystem<Net>
+ {
+ public:
+
+ protected:
+ Net() {};
+ ~Net() {};
+ SINGLETON(Net);
+ bool initSystem(const SettingBase* setting) override;
+ void quitSystem() override;
+ };
+
+}
+}
+
+#endif // JIN_MODULES_NET
+#endif // __JIN_NET_H \ No newline at end of file