Parcourir la 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 il y a 11 ans
Parent
révision
054602c2d3
2 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 3
    0
      networking.cpp
  2. 5
    0
      networking.hpp

+ 3
- 0
networking.cpp Voir le fichier



#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 Voir le fichier

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

Chargement…
Annuler
Enregistrer