Fix wine build
[carla.git] / source / rest / common.hpp
bloba16aff247c9c53623748d5816d25d214e259883a
1 /*
2 * Carla REST API Server
3 * Copyright (C) 2018 Filipe Coelho <falktx@falktx.com>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * For a full copy of the GNU General Public License see the doc/GPL.txt file.
18 #ifndef REST_COMMON_HPP_INCLUDED
19 #define REST_COMMON_HPP_INCLUDED
21 #include "buffers.hpp"
23 #include "CarlaBackend.h"
24 #include "CarlaUtils.hpp"
26 #include <restbed>
28 using restbed::Request;
29 using restbed::Resource;
30 using restbed::Service;
31 using restbed::Session;
32 using restbed::Settings;
33 using restbed::BAD_REQUEST;
34 using restbed::OK;
36 CARLA_BACKEND_USE_NAMESPACE;
38 void send_server_side_message(const char* const message);
40 #endif // REST_COMMON_HPP_INCLUDED