// @<COPYRIGHT_START>@
// ===============================================
// Copyright 2006 UGS Corp. All Rights Reserved.
// ===============================================
// @<COPYRIGHT_END>@


/** 
    @libdocmgtapp_exports.h 
    Export defines for the Document Management library

*/

#include <common/library_indicators.h>

#ifdef EXPORTLIBRARY
#error ExportLibrary was already defined
#endif

#define EXPORTLIBRARY            libdocmgtapp

#if !defined(IPLIB)
#   error IPLIB is not defined
#endif

/* Handwritten code should use DOCMGTAPP_API, not DOCMGTAPPEXPORT */
#define DOCMGTAPP_API DOCMGTAPPEXPORT

/* Support DOCMGTAPPEXPORT for autogenerated code only */
#if IPLIB==libdocmgtapp
#   if defined(__lint)
#       define DOCMGTAPPEXPORT       __export(docmgtapp)
#       define DOCMGTAPPGLOBAL       extern __global(docmgtapp)
#       define DOCMGTAPPPRIVATE      extern __private(docmgtapp)
#   elif defined(_WIN32)
#       define DOCMGTAPPEXPORT       __declspec(dllexport)
#       define DOCMGTAPPGLOBAL       extern __declspec(dllexport)
#       define DOCMGTAPPPRIVATE      extern
#   else
#       define DOCMGTAPPEXPORT
#       define DOCMGTAPPGLOBAL       extern
#       define DOCMGTAPPPRIVATE      extern
#   endif
#else
#   if defined(__lint)
#       define DOCMGTAPPEXPORT       __export(docmgtapp)
#       define DOCMGTAPPGLOBAL       extern __global(docmgtapp)
#   elif defined(_WIN32) && !defined(WNT_STATIC_LINK)
#       define DOCMGTAPPEXPORT      __declspec(dllimport)
#       define DOCMGTAPPGLOBAL       extern __declspec(dllimport)
#   else
#       define DOCMGTAPPEXPORT
#       define DOCMGTAPPGLOBAL       extern
#   endif
#endif
