Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

s11n_config.hpp

Go to the documentation of this file.
00001 #ifndef s11n_CONFIG_HPP_INCLUDED
00002 #define s11n_CONFIG_HPP_INCLUDED 1
00003 // Template file for s11n_config.hpp - project-wide defines.  Make
00004 // your changes in s11n_config.hpp.at, not in s11n_config.hpp, as the
00005 // configure script will use s11n_config.hpp.at to create
00006 // s11n_config.hpp.
00007 
00008 ////////////////////////////////////////////////////////////////////////
00009 // Code which wants to check for s11n's inclusion should check
00010 // for:
00011 #define s11n_S11N_INCLUDED 1
00012 // This does not mean that ALL components are loaded, only that
00013 // some part of it has been. Classes may use this to conditionally
00014 // include their s11n registrations.
00015 // As of version 1.0.2, a more configurable approach is to check
00016 // against s11n_S11N_LIBRARY_VERSION_HEX, which contains the
00017 // version number encoded as a hex int. e.g., 1.0.8 == 0x010008
00018 ////////////////////////////////////////////////////////////////////////
00019 
00020 
00021 #define s11n_S11N_PACKAGE_NAME "s11n"
00022 #define s11n_S11N_LIBRARY_VERSION "1.2.0"
00023 #define s11n_S11N_LIBRARY_VERSION_HEX (0x010200)
00024 #define s11n_PACKAGE_RELEASE_CODENAME "Three weeks of holiday with no internet access"
00025 #define s11n_PACKAGE_LICENSE "Public Domain"
00026 #define s11n_PACKAGE_URL "http://s11n.net/"
00027 #define s11n_PACKAGE_EMAIL_ADDRESS "s11n-devel@lists.sourceforge.net"
00028 
00029 
00030 #if defined(WIN32)
00031  /* have libexpat XML parser? */
00032 #  define s11n_CONFIG_HAVE_LIBEXPAT (0)
00033  /* have libzfstream? */
00034 #  define s11n_CONFIG_HAVE_ZFSTREAM (0)
00035  /* Enable s11n::plugin module? */
00036 #  define s11n_CONFIG_ENABLE_PLUGINS (1)
00037 #else
00038 #  define s11n_CONFIG_HAVE_LIBEXPAT (1)
00039 #  define s11n_CONFIG_HAVE_ZFSTREAM (1)
00040 #  define s11n_CONFIG_ENABLE_PLUGINS (1)
00041 #endif
00042 
00043 /* Shared paths for s11n and clients. */
00044 #if defined(WIN32)
00045 #  define s11n_CONFIG_SHARED_DIR std::string("C:\\s11n.net\\shared")
00046 #  define s11n_CONFIG_LIB_DIR std::string("C:\\s11n.net\\lib")
00047 #else
00048 #  define s11n_CONFIG_SHARED_DIR std::string("/home/stephan/share/s11n")
00049 #  define s11n_CONFIG_LIB_DIR std::string("/home/stephan/lib/s11n")
00050 #endif
00051 
00052 #define s11n_S11NLITE_DEFAULT_SERIALIZER_TYPE_NAME std::string("s11n::io::funtxt_serializer")
00053 
00054 #endif // s11n_CONFIG_HPP_INCLUDED

Generated on Fri Nov 25 17:19:29 2005 for libs11n-1.2.0 by  doxygen 1.4.4