You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
3.7 KiB

  1. /* /////////////////////////////////////////////////////////////////////////
  2. * File: pantheios/pan.hpp
  3. *
  4. * Purpose: Equivalent to the Pantheios C++ primary include
  5. * pantheios/pantheios.hpp, but aliases the pantheios
  6. * namespace to pan.
  7. *
  8. * Created: 13th January 2008
  9. * Updated: 24th June 2011
  10. *
  11. * Home: http://www.pantheios.org/
  12. *
  13. * Copyright (c) 2008-2011, Matthew Wilson and Synesis Software
  14. * All rights reserved.
  15. *
  16. * Redistribution and use in source and binary forms, with or without
  17. * modification, are permitted provided that the following conditions are
  18. * met:
  19. *
  20. * - Redistributions of source code must retain the above copyright notice,
  21. * this list of conditions and the following disclaimer.
  22. * - Redistributions in binary form must reproduce the above copyright
  23. * notice, this list of conditions and the following disclaimer in the
  24. * documentation and/or other materials provided with the distribution.
  25. * - Neither the names of Matthew Wilson and Synesis Software nor the names
  26. * of any contributors may be used to endorse or promote products derived
  27. * from this software without specific prior written permission.
  28. *
  29. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  30. * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  31. * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  32. * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  33. * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  34. * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  35. * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  36. * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  37. * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  38. * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  39. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  40. *
  41. * ////////////////////////////////////////////////////////////////////// */
  42. /** \file pantheios/pan.hpp
  43. *
  44. * \brief [C++ only] Equivalent to the Pantheios C++ primary include
  45. * pantheios/pantheios.hpp, but aliases the pantheios namespace to pan.
  46. */
  47. #ifndef PANTHEIOS_INCL_PANTHEIOS_HPP_PAN
  48. #define PANTHEIOS_INCL_PANTHEIOS_HPP_PAN
  49. /* /////////////////////////////////////////////////////////////////////////
  50. * Version information
  51. */
  52. #ifndef PANTHEIOS_DOCUMENTATION_SKIP_SECTION
  53. # define PANTHEIOS_VER_PANTHEIOS_HPP_PAN_MAJOR 1
  54. # define PANTHEIOS_VER_PANTHEIOS_HPP_PAN_MINOR 0
  55. # define PANTHEIOS_VER_PANTHEIOS_HPP_PAN_REVISION 3
  56. # define PANTHEIOS_VER_PANTHEIOS_HPP_PAN_EDIT 5
  57. #endif /* !PANTHEIOS_DOCUMENTATION_SKIP_SECTION */
  58. /* /////////////////////////////////////////////////////////////////////////
  59. * Language
  60. */
  61. #ifndef __cplusplus
  62. # error This file can only be included in C++ compilation units
  63. #endif /* !__cplusplus */
  64. /* /////////////////////////////////////////////////////////////////////////
  65. * Includes
  66. */
  67. #ifndef PANTHEIOS_INCL_PANTHEIOS_HPP_PANTHEIOS
  68. # include <pantheios/pantheios.hpp>
  69. #endif /* !PANTHEIOS_INCL_PANTHEIOS_HPP_PANTHEIOS */
  70. /* /////////////////////////////////////////////////////////////////////////
  71. * Namespace
  72. */
  73. #if !defined(PANTHEIOS_NO_NAMESPACE)
  74. namespace pan = ::pantheios;
  75. #endif /* !PANTHEIOS_NO_NAMESPACE */
  76. /* /////////////////////////////////////////////////////////////////////////
  77. * Inclusion
  78. */
  79. #ifdef STLSOFT_PPF_pragma_once_SUPPORT
  80. # pragma once
  81. #endif /* STLSOFT_PPF_pragma_once_SUPPORT */
  82. /* ////////////////////////////////////////////////////////////////////// */
  83. #endif /* PANTHEIOS_INCL_PANTHEIOS_HPP_PAN */
  84. /* ///////////////////////////// end of file //////////////////////////// */