Collage  1.0.1
Object-Oriented C++ Network Library
api.h
1 
2 /* Copyright (c) 2010, Daniel Pfeifer <daniel@pfeifer-mail.de>
3  * 2010-2012, Stefan Eilemann <eile@eyescale.ch>
4  *
5  * This file is part of Collage <https://github.com/Eyescale/Collage>
6  *
7  * This library is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU Lesser General Public License version 2.1 as published
9  * by the Free Software Foundation.
10  *
11  * This library is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
14  * details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with this library; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  */
20 
21 #ifndef CO_API_H
22 #define CO_API_H
23 
24 #include <co/defines.h>
25 
26 #if defined(COLLAGE_STATIC)
27 # define CO_API
28 #elif defined(COLLAGE_SHARED)
29 # define CO_API LB_DLLEXPORT
30 #else
31 # define CO_API LB_DLLIMPORT
32 #endif
33 
34 #endif //CO_API_H