Lunchbox  1.16.0
Multi-threaded C++ toolbox library for all application developers creating high-performance multi-threaded programs.
servus.h
1 
2 /* Copyright (c) 2012-2015, Stefan Eilemann <eile@eyescale.ch>
3  *
4  * This file is part of Lunchbox <https://github.com/Eyescale/Lunchbox>
5  *
6  * This library is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Lesser General Public License version 2.1 as published
8  * by the Free Software Foundation.
9  *
10  * This library is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13  * details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this library; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 #ifndef LUNCHBOX_SERVUS_H
21 #define LUNCHBOX_SERVUS_H
22 
23 #include <lunchbox/defines.h>
24 
25 #ifdef LUNCHBOX_USE_V1_API
26 #include <servus/servus.h>
27 
28 namespace lunchbox
29 {
30 using servus::Servus; // In case types.h is not included
31 }
32 #else
33 #error "This header file may not be included in API version 2"
34 #endif
35 
36 #endif // LUNCHBOX_SERVUS_H
Includes compile-time defines of Lunchbox.
Abstraction layer and common utilities for multi-threaded programming.
Definition: algorithm.h:29