
// -*- C++ -*-
// $Id: Protocols_stub_export.h 58745 2004-06-28 04:22:27Z irfan $
// Definition for Win32 Export directives.
// This file is generated automatically by generate_export_file.pl PROTOCOLS_STUB
// ------------------------------
#ifndef PROTOCOLS_STUB_EXPORT_H
#define PROTOCOLS_STUB_EXPORT_H

#include "ace/config-all.h"

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

#if defined (PROTOCOLS_STUB_HAS_DLL) && (PROTOCOLS_STUB_HAS_DLL == 1)
#  if defined (PROTOCOLS_STUB_BUILD_DLL)
#    define PROTOCOLS_STUB_Export ACE_Proper_Export_Flag
#    define PROTOCOLS_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
#    define PROTOCOLS_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#  else /* PROTOCOLS_STUB_BUILD_DLL */
#    define PROTOCOLS_STUB_Export ACE_Proper_Import_Flag
#    define PROTOCOLS_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
#    define PROTOCOLS_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#  endif /* PROTOCOLS_STUB_BUILD_DLL */
#else /* PROTOCOLS_STUB_HAS_DLL == 1 */
#  define PROTOCOLS_STUB_Export
#  define PROTOCOLS_STUB_SINGLETON_DECLARATION(T)
#  define PROTOCOLS_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#endif /* PROTOCOLS_STUB_HAS_DLL == 1 */

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

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

#endif /* PROTOCOLS_STUB_EXPORT_H */

// End of auto generated file.
