From: <at...@us...> - 2007-08-10 05:04:04
|
Revision: 439 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=439&view=rev Author: atani Date: 2007-08-09 22:03:51 -0700 (Thu, 09 Aug 2007) Log Message: ----------- add Tiki::Thread namespace declaration Modified Paths: -------------- tiki/include/Tiki/tiki.h Modified: tiki/include/Tiki/tiki.h =================================================================== --- tiki/include/Tiki/tiki.h 2007-08-10 01:42:22 UTC (rev 438) +++ tiki/include/Tiki/tiki.h 2007-08-10 05:03:51 UTC (rev 439) @@ -11,18 +11,19 @@ // Lay out the namespaces up front. namespace Tiki { -namespace Time { } -namespace Debug { } -namespace Math { } -namespace GL { -namespace Plxcompat { } -namespace Frame { } + namespace Time { } + namespace Thread { } + namespace Debug { } + namespace Math { } + namespace GL { + namespace Plxcompat { } + namespace Frame { } + } + namespace Hid { } + namespace Audio { + namespace OggVorbis { } + } } -namespace Hid { } -namespace Audio { -namespace OggVorbis { } -} -} // Define our supported platforms #define TIKI_OSX 0 @@ -41,22 +42,22 @@ #include <string> namespace Tiki { -// Bring STL string into the namespace. -using std::string; + // Bring STL string into the namespace. + using std::string; -// Global init/shutdown functions. -bool init( int argc, char **argv ); -void shutdown(); -void setName( const char *name, const char *icon ); -namespace GL { -void showCursor( bool visible ); + // Global init/shutdown functions. + bool init( int argc, char **argv ); + void shutdown(); + void setName( const char *name, const char *icon ); + namespace GL { + void showCursor( bool visible ); + } + // Endian swapping functions. + uint16 swaple( uint16 src ); + uint32 swaple( uint32 src ); + uint16 swapbe( uint16 src ); + uint32 swapbe( uint32 src ); } -// Endian swapping functions. -uint16 swaple( uint16 src ); -uint32 swaple( uint32 src ); -uint16 swapbe( uint16 src ); -uint32 swapbe( uint32 src ); -} // Bring in debug stuff, we'll use it everywhere. #include "Tiki/debug.h" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |