Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Presentation_HS17_merge/src/modules/flappyorx/FlappyOrxPrereqs.h @ 11754

Last change on this file since 11754 was 11753, checked in by landauf, 7 years ago

[FlappyOrx_HS17] fixed dll linkage for MSVC

File size: 2.2 KB
Line 
1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
3 *                    > www.orxonox.net <
4 *
5 *
6 *   License notice:
7 *
8 *   This program is free software; you can redistribute it and/or
9 *   modify it under the terms of the GNU General Public License
10 *   as published by the Free Software Foundation; either version 2
11 *   of the License, or (at your option) any later version.
12 *
13 *   This program is distributed in the hope that it will be useful,
14*   but WITHOUT ANY WARRANTY; without even the implied warranty of
15 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 *   GNU General Public License for more details.
17 *
18 *   You should have received a copy of the GNU General Public License
19 *   along with this program; if not, write to the Free Software
20 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21 *
22 *   Author:
23 *      Leo Merholz
24 *      Pascal Schärli
25 *   Co-authors:
26 *      ...
27 *
28 */
29
30/**
31@file
32@brief
33    Shared library macros, enums, constants and forward declarations for the FlappyOrx module
34*/
35
36#ifndef _FlappyOrxPrereqs_H__
37#define _FlappyOrxPrereqs_H__
38
39#include "OrxonoxConfig.h"
40#include "OrxonoxPrereqs.h"
41
42//-----------------------------------------------------------------------
43// Shared library settings
44//-----------------------------------------------------------------------
45
46#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(FLAPPYORX_STATIC_BUILD)
47#  ifdef FLAPPYORX_SHARED_BUILD
48#    define _FlappyOrxExport __declspec(dllexport)
49#  else
50#    if defined( __MINGW32__ )
51#      define _FlappyOrxExport
52#    else
53#      define _FlappyOrxExport __declspec(dllimport)
54#    endif
55#  endif
56#  define _FlappyOrxPrivate
57#elif defined (ORXONOX_GCC_VISIBILITY)
58#  define _FlappyOrxExport  __attribute__ ((visibility("default")))
59#  define _FlappyOrxPrivate __attribute__ ((visibility("hidden")))
60#else
61#  define _FlappyOrxExport
62#  define _FlappyOrxPrivate
63#endif
64
65//-----------------------------------------------------------------------
66// Forward declarations
67//-----------------------------------------------------------------------
68
69namespace orxonox
70{
71    class FlappyOrx;
72    class FlappyOrxCenterPoint;
73    class FlappyOrxShip;
74    class FlappyOrxHUDinfo;
75}
76
77#endif /* _FlappyOrxPrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.