XamlCore.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (c) 1996-2006 by Autodesk, Inc.
00003 //
00004 //  By using this code, you are agreeing to the terms and conditions of
00005 //  the License Agreement included in the documentation for this code.
00006 //
00007 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS
00008 //  OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE IT. AUTODESK
00009 //  PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY DISCLAIMS ANY
00010 //  LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00011 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00012 //
00013 //  Use, duplication, or disclosure by the U.S. Government is subject to
00014 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00015 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00016 //  Data and Computer Software), as applicable.
00017 //
00018 
00019 #if !defined XAMLCORE_HEADER
00020 #define XAMLCORE_HEADER
00021 
00025 
00027 //
00028 // Recognize the newer DWF Toolkit pre-processor macros
00029 // 
00030 //
00031 #ifdef  DWFTK_STATIC
00032 #ifndef XAML_STATIC_LIB
00033 #define XAML_STATIC_LIB
00034 #endif
00035 #endif
00036 
00037 #ifdef  DWFTK_EXPORT_API
00038 #undef  XAMLTOOL_CLIENT
00039 #undef  XAML_STATIC_LIB
00040 #endif
00041 
00042 #if defined   _MSC_VER
00043     #ifndef XAML_STATIC_LIB
00044         #if defined XAMLTOOL_CLIENT
00045             #ifdef XAMLTOOL_CLIENT_NODECLSPEC
00046                   #define         XAMLTK_API
00047             #pragma message ("Xaml client (no declspec) ")
00048             #else
00049                   #define         XAMLTK_API  __declspec(dllimport)
00050             #pragma message ("Xaml client (dllimport) ")
00051             #endif
00052         #else
00053             #define         XAMLTK_API  __declspec(dllexport)
00054             #pragma message ("Xaml server (dllexport) ")
00055         #endif
00056     #else
00057         #define XAMLTK_API
00058         #pragma message ("XAML static library ")
00059     #endif
00060 #endif
00061 
00062 #if !defined XAMLTK_API
00063     #define     XAMLTK_API
00064 #endif
00065 
00066 #endif
00067 

Generated on Tue Jan 6 22:40:05 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5