瀏覽代碼

Add CodeDweller namespace.


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@57 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz 10 年之前
父節點
當前提交
054602c2d3
共有 2 個文件被更改,包括 8 次插入0 次删除
  1. 3
    0
      networking.cpp
  2. 5
    0
      networking.hpp

+ 3
- 0
networking.cpp 查看文件

@@ -24,6 +24,8 @@

#include "networking.hpp"

namespace CodeDweller {

Networking Network; // Finally creating the Network instance.

//// Platform Specific Stuff ///////////////////////////////////////////////////
@@ -684,3 +686,4 @@ int TCPHost::delimited_receive(char* bfr, int size, char delimiter) {

// End Platform Agnostic Stuff
////////////////////////////////////////////////////////////////////////////////
}

+ 5
- 0
networking.hpp 查看文件

@@ -40,6 +40,8 @@ using namespace std;
#include <cstdio>
#include <cerrno>

namespace CodeDweller {

//// Platform specific includes...

#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
@@ -535,5 +537,8 @@ class UDPBroadcaster : public Socket, public MessagePort {

#include "networking.inline.hpp"

}

#endif

// End include Networking.hpp only once...

Loading…
取消
儲存