Pārlūkot izejas kodu

Add CodeDweller namespace.


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@57 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz pirms 10 gadiem
vecāks
revīzija
054602c2d3
2 mainītis faili ar 8 papildinājumiem un 0 dzēšanām
  1. 3
    0
      networking.cpp
  2. 5
    0
      networking.hpp

+ 3
- 0
networking.cpp Parādīt failu

@@ -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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt