Przeglądaj źródła

Add CodeDweller namespace.


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@57 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz 9 lat temu
rodzic
commit
054602c2d3
2 zmienionych plików z 8 dodań i 0 usunięć
  1. 3
    0
      networking.cpp
  2. 5
    0
      networking.hpp

+ 3
- 0
networking.cpp Wyświetl plik

@@ -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 Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz