home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / The Hacks / APLocation / Sources / MacOS_Namespaces.h < prev    next >
Encoding:
Text File  |  2001-06-23  |  1.1 KB  |  46 lines

  1. // ===========================================================================
  2. //    MacOS_Namespaces.h                               ©2000 Connectix Corporation
  3. // ===========================================================================
  4. //    Contains:    
  5. //
  6. //    Written by:    Linden Siahaan
  7. //
  8. //    Copyright:    ©2000 Connectix Corporation
  9. // ===========================================================================
  10.  
  11. /*
  12.  
  13. $Log: MacOS_Namespaces.h,v $
  14. Revision 1.1  2000/03/09 02:09:12  lsiahaan
  15. First Checked In.
  16.  
  17.  
  18. */
  19.  
  20.  
  21. #ifndef _H_MacOS_Namespaces
  22. #define _H_MacOS_Namespaces
  23. #pragma once
  24.  
  25. // ---------------------------------------------------------------------------
  26. //    Mac OS Extensions Namespace
  27.  
  28. #ifndef CTX_Uses_MacOS_Namespace
  29.     #define CTX_Uses_MacOS_Namespace    0        // Default to OFF
  30. #endif
  31.  
  32. #if CTX_Uses_MacOS_Namespace
  33.     #define CTX_Begin_Namespace_MacOS    namespace MacOS_Extensions {
  34.     #define CTX_End_Namespace_MacOS    }
  35.     #define CTX_Using_Namespace_MacOS    using namespace MacOS_Extensions;
  36.     #define CTX_MacOS                    MacOS_Extensions
  37. #else
  38.     #define CTX_Begin_Namespace_MacOS
  39.     #define CTX_End_Namespace_MacOS
  40.     #define CTX_Using_Namespace_MacOS
  41.     #define CTX_MacOS
  42. #endif
  43.  
  44.  
  45. #endif    // _H_MacOS_Namespaces
  46.