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.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/src/libjin/net/net.h b/src/libjin/net/net.h
index 6b86a45..54ffede 100644
--- a/src/libjin/net/net.h
+++ b/src/libjin/net/net.h
@@ -1,6 +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
+{
-#endif \ No newline at end of file
+ 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