
// -*- C++ -*-
// $Id: CCM_Stub_Export.h 80876 2008-03-09 16:54:16Z wotte $
// Definition for Win32 Export directives.
// This file is generated automatically by generate_export_file.pl CCM_Stub
// ------------------------------
#ifndef CCM_STUB_EXPORT_H
#define CCM_STUB_EXPORT_H

#include "ace/config-all.h"

#if defined (ACE_AS_STATIC_LIBS) && !defined (CCM_STUB_HAS_DLL)
#  define CCM_STUB_HAS_DLL 0
#endif /* ACE_AS_STATIC_LIBS && CCM_STUB_HAS_DLL */

#if !defined (CCM_STUB_HAS_DLL)
#  define CCM_STUB_HAS_DLL 1
#endif /* ! CCM_STUB_HAS_DLL */

#if defined (CCM_STUB_HAS_DLL) && (CCM_STUB_HAS_DLL == 1)
#  if defined (CCM_STUB_BUILD_DLL)
#    define CCM_Stub_Export ACE_Proper_Export_Flag
#    define CCM_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
#    define CCM_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#  else /* CCM_STUB_BUILD_DLL */
#    define CCM_Stub_Export ACE_Proper_Import_Flag
#    define CCM_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
#    define CCM_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#  endif /* CCM_STUB_BUILD_DLL */
#else /* CCM_STUB_HAS_DLL == 1 */
#  define CCM_Stub_Export
#  define CCM_STUB_SINGLETON_DECLARATION(T)
#  define CCM_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#endif /* CCM_STUB_HAS_DLL == 1 */

// Set CCM_STUB_NTRACE = 0 to turn on library specific tracing even if
// tracing is turned off for ACE.
#if !defined (CCM_STUB_NTRACE)
#  if (ACE_NTRACE == 1)
#    define CCM_STUB_NTRACE 1
#  else /* (ACE_NTRACE == 1) */
#    define CCM_STUB_NTRACE 0
#  endif /* (ACE_NTRACE == 1) */
#endif /* !CCM_STUB_NTRACE */

#if (CCM_STUB_NTRACE == 1)
#  define CCM_STUB_TRACE(X)
#else /* (CCM_STUB_NTRACE == 1) */
#  if !defined (ACE_HAS_TRACE)
#    define ACE_HAS_TRACE
#  endif /* ACE_HAS_TRACE */
#  define CCM_STUB_TRACE(X) ACE_TRACE_IMPL(X)
#  include "ace/Trace.h"
#endif /* (CCM_STUB_NTRACE == 1) */

#endif /* CCM_STUB_EXPORT_H */

// End of auto generated file.
