Browse Source

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 years ago
parent
commit
054602c2d3
2 changed files with 8 additions and 0 deletions
  1. 3
    0
      networking.cpp
  2. 5
    0
      networking.hpp

+ 3
- 0
networking.cpp View File



#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 View File

#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...

Loading…
Cancel
Save