Scopira 20080306

export.h

00001 
00002 /*
00003  *  Copyright (c) 2005    National Research Council
00004  *
00005  *  All rights reserved.
00006  *
00007  *  This material is confidential and proprietary information of
00008  *  National Research Council Canada ("Confidential Information").
00009  *  This Confidential Information may only be used and reproduced
00010  *  in accordance with the terms of the license agreement.
00011  *
00012  */
00013 
00014 #ifndef __INCLUDED__SCOPIRA_TOOL_EXPORT__
00015 #define __INCLUDED__SCOPIRA_TOOL_EXPORT__
00016 
00017 #include <scopira/tool/platform.h>
00018 // where SCOPIRA below would be replaced with the "dll" that this file is part of (SCOPIRA, SCOPIRAUI, PAKIT, etc)
00019 #if defined(scopira_STATIC)
00020 #define SCOPIRA_EXPORT
00021 #elif defined(SCOPIRA_DLL) || defined(scopira_EXPORTS)
00022 #define SCOPIRA_EXPORT PLATFORM_INDLL
00023 #else
00024 #define SCOPIRA_EXPORT PLATFORM_OUTDLL
00025 #endif
00026 
00027 #endif
00028