sfeMovie Project
A movie player for SFML applications
Home
Getting started
Changelog
Legal
Documentation
FAQ
Developers
Other projects
include
sfeMovie
Visibility.hpp
1
2
/*
3
* Visibility.hpp
4
* sfeMovie project
5
*
6
* Copyright (C) 2010-2015 Lucas Soltic
7
* lucas.soltic@orange.fr
8
*
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU Lesser General Public
11
* License as published by the Free Software Foundation; either
12
* version 2.1 of the License, or (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* Lesser General Public License for more details.
18
*
19
* You should have received a copy of the GNU Lesser General Public
20
* License along with this program; if not, write to the Free Software
21
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22
*
23
*/
24
25
26
#ifndef SFEMOVIE_VISIBILITY_HPP
27
#define SFEMOVIE_VISIBILITY_HPP
28
29
#include <SFML/System.hpp>
30
33
#if !defined SFEMOVIE_STATIC
34
#if defined(SFML_SYSTEM_WINDOWS) && defined(_MSC_VER)
35
#ifdef SFE_EXPORTS
36
38
#define SFE_API __declspec(dllexport)
39
#else
40
42
#define SFE_API __declspec(dllimport)
43
#endif
44
49
#ifdef _MSC_VER
50
#pragma warning(disable : 4251)
51
#endif
52
#else
53
#define SFE_API
54
#endif
55
#else
56
58
#define SFE_API
59
#endif
60
61
#endif