浏览代码

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 查看文件



#include "networking.hpp" #include "networking.hpp"


namespace CodeDweller {

Networking Network; // Finally creating the Network instance. Networking Network; // Finally creating the Network instance.


//// Platform Specific Stuff /////////////////////////////////////////////////// //// Platform Specific Stuff ///////////////////////////////////////////////////


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

+ 5
- 0
networking.hpp 查看文件

#include <cstdio> #include <cstdio>
#include <cerrno> #include <cerrno>


namespace CodeDweller {

//// Platform specific includes... //// Platform specific includes...


#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)


#include "networking.inline.hpp" #include "networking.inline.hpp"


}

#endif #endif

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

正在加载...
取消
保存