KWWidgets
debian/kwwidgets-examples/usr/share/doc/kwwidgets-examples/examples/Cxx/Callbacks/vtkKWMyApplicationWin32Header.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Module: $RCSfile: vtkKWMyApplicationWin32Header.h,v $
4 
5  Copyright (c) Kitware, Inc.
6  All rights reserved.
7  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 #ifndef __vtkKWMyApplicationWin32Header_h
15 #define __vtkKWMyApplicationWin32Header_h
16 
17 #include "vtkKWMyApplicationConfigure.h"
18 
19 #if defined(_WIN32) && defined(KWMyApplication_BUILD_SHARED_LIBS)
20 # if defined(KWCallbacksExampleLib_EXPORTS) // *has* to match the lib name
21 # define KWMyApplication_EXPORT __declspec( dllexport )
22 # else
23 # define KWMyApplication_EXPORT __declspec( dllimport )
24 # endif
25 #else
26 # define KWMyApplication_EXPORT
27 #endif
28 
29 #endif