aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Net
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Net')
-rw-r--r--src/libjin/Net/Net.h3
-rw-r--r--src/libjin/Net/Socket.h2
-rw-r--r--src/libjin/Net/net.h3
3 files changed, 5 insertions, 3 deletions
diff --git a/src/libjin/Net/Net.h b/src/libjin/Net/Net.h
index b10f5f2..5ca658b 100644
--- a/src/libjin/Net/Net.h
+++ b/src/libjin/Net/Net.h
@@ -16,11 +16,12 @@ namespace net
public:
protected:
+ SINGLETON(Net);
Net() {};
~Net() {};
- SINGLETON(Net);
bool initSystem(const SettingBase* setting) override;
void quitSystem() override;
+
};
} // net
diff --git a/src/libjin/Net/Socket.h b/src/libjin/Net/Socket.h
index 6d9e09b..5329974 100644
--- a/src/libjin/Net/Socket.h
+++ b/src/libjin/Net/Socket.h
@@ -33,7 +33,6 @@ namespace net
Socket(SocketType type, unsigned int address, unsigned short port);
Socket(SocketType type, const char* address, unsigned short port);
~Socket();
-
void configureBlocking(bool bocking);
Socket* accept();
int receive(char* buffer, int size);
@@ -53,6 +52,7 @@ namespace net
} handle;
#endif
SocketType type;
+
};
} // net
diff --git a/src/libjin/Net/net.h b/src/libjin/Net/net.h
index b10f5f2..5ca658b 100644
--- a/src/libjin/Net/net.h
+++ b/src/libjin/Net/net.h
@@ -16,11 +16,12 @@ namespace net
public:
protected:
+ SINGLETON(Net);
Net() {};
~Net() {};
- SINGLETON(Net);
bool initSystem(const SettingBase* setting) override;
void quitSystem() override;
+
};
} // net