/*********************************************************************
 ** Copyright (c) 2004 MaK Technologies, Inc.
 ** All rights reserved.
 *********************************************************************/

//! \file loggerControlDefines.h
//! \brief Contains export defines for logger control toolkit

#pragma once


//! Include vlconfig.h to get relivant platform info
//! like if we need declspec stuff or not.
#include <vlutil/vlConfig.h>

//! If DT_USE_DLL is defined then DT_NEED_DLL_DECLARATIONS will
//! be turned on. for building the stealth library you will still
//! need to declare DT_DLL_LOGGERCONTROL in the project file

/* Windows requires extra work to export from DLLs */
#if DT_NEED_DLL_DECLARATIONS 
   #ifdef DT_DLL_LOGGERCONTROL
   #undef DT_DLL_LOGGERCONTROL
   #define DT_DLL_LOGGERCONTROL     __declspec( dllexport )
   #else
   #define DT_DLL_LOGGERCONTROL     __declspec( dllimport )
   #endif
#else /* DT_NEED_DLL_DECLARATIONS */
   //! for platforms like unix where this is not needed
   //! This also will be called in you do not define DT_USE_DLL
   #define DT_DLL_LOGGERCONTROL
#endif /* Dt_NEED_DLL_DECLARATIONS */


#if _WIN32
//! we put these here for now but they should do into the platform specific stuff
//! soon
#pragma warning( disable : 4290 ) 
#pragma warning( disable : 4786 )

#endif
