Blame xmpsdk/include/XMP.incl_cpp

Packit Service 21b5d1
#ifndef __XMP_incl_cpp__
Packit Service 21b5d1
#define __XMP_incl_cpp__ 1
Packit Service 21b5d1
Packit Service 21b5d1
// =================================================================================================
Packit Service 21b5d1
// ADOBE SYSTEMS INCORPORATED
Packit Service 21b5d1
// Copyright 2002-2007 Adobe Systems Incorporated
Packit Service 21b5d1
// All Rights Reserved
Packit Service 21b5d1
//
Packit Service 21b5d1
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
Packit Service 21b5d1
// of the Adobe license agreement accompanying it.
Packit Service 21b5d1
// =================================================================================================
Packit Service 21b5d1
Packit Service 21b5d1
//  ================================================================================================
Packit Service 21b5d1
/// \file XMP.incl_cpp
Packit Service 21b5d1
/// \brief Overall client glue file for the XMP toolkit.
Packit Service 21b5d1
///
Packit Service 21b5d1
/// This is an overall client source file of XMP toolkit glue, the only XMP-specific one that
Packit Service 21b5d1
/// clients should build in projects. This ensures that all of the client-side glue code for the
Packit Service 21b5d1
/// XMP toolkit gets compiled.
Packit Service 21b5d1
///
Packit Service 21b5d1
/// You cannot compile this file directly, because the template's string type must be declared and 
Packit Service 21b5d1
/// only the client can do that. Instead, include this in some other source file. For example, 
Packit Service 21b5d1
/// to use <tt>std::string</tt> you only need these two lines:
Packit Service 21b5d1
///
Packit Service 21b5d1
/// \code
Packit Service 21b5d1
///  #include <string>
Packit Service 21b5d1
///  #include "XMP.incl_cpp"
Packit Service 21b5d1
/// \endcode
Packit Service 21b5d1
Packit Service 21b5d1
Packit Service 21b5d1
#include "XMPSDK.hpp" // ! This must be the first include!
Packit Service 21b5d1
Packit Service 21b5d1
#define XMP_ClientBuild 1
Packit Service 21b5d1
Packit Service 21b5d1
#ifdef _MSC_VER
Packit Service 21b5d1
    #if XMP_DebugBuild
Packit Service 21b5d1
        #pragma warning ( push, 4 )
Packit Service 21b5d1
    #else
Packit Service 21b5d1
        #pragma warning ( push, 3 )
Packit Service 21b5d1
    #endif
Packit Service 21b5d1
    #pragma warning ( disable : 4189 ) // local variable is initialized but not referenced
Packit Service 21b5d1
    #pragma warning ( disable : 4702 ) // unreachable code
Packit Service 21b5d1
    #pragma warning ( disable : 4800 ) // forcing value to bool 'true' or 'false' (performance warning)
Packit Service 21b5d1
#endif
Packit Service 21b5d1
Packit Service 21b5d1
#if defined ( TXMP_STRING_TYPE ) && (! TXMP_EXPAND_INLINE)
Packit Service 21b5d1
Packit Service 21b5d1
    // We're using a single out of line instantiation. Do it here.
Packit Service 21b5d1
Packit Service 21b5d1
    #include "client-glue/TXMPMeta.incl_cpp"
Packit Service 21b5d1
    #include "client-glue/TXMPIterator.incl_cpp"
Packit Service 21b5d1
    #include "client-glue/TXMPUtils.incl_cpp"
Packit Service 21b5d1
    template class TXMPMeta <TXMP_STRING_TYPE>;
Packit Service 21b5d1
    template class TXMPIterator <TXMP_STRING_TYPE>;
Packit Service 21b5d1
    template class TXMPUtils <TXMP_STRING_TYPE>;
Packit Service 21b5d1
Packit Service 21b5d1
#endif
Packit Service 21b5d1
Packit Service 21b5d1
#ifdef _MSC_VER
Packit Service 21b5d1
    #pragma warning ( pop )
Packit Service 21b5d1
#endif
Packit Service 21b5d1
Packit Service 21b5d1
#endif // __XMP_incl_cpp__