vips-cpp 8.16 libvips C++ binding

Loading...
Searching...
No Matches
vips8
1// Include file to get vips C++ binding
2
3/*
4
5 This file is part of VIPS.
6
7 VIPS is free software; you can redistribute it and/or modify
8 it under the terms of the GNU Lesser General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 02110-1301 USA
21
22 */
23
24/*
25
26 These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
27
28 */
29
30#ifndef VIPS_CPLUSPLUS
31#define VIPS_CPLUSPLUS
32
33/* avoid conflict with Qt definitions, if they exist */
34#if defined(signals) && defined(Q_SIGNALS)
35#define _VIPS_QT_SIGNALS_DEFINED
36#undef signals
37#endif
38
39#include <vips/version.h>
40
41#include <glib-object.h>
42
43/* Note: when building without Meson, it may be necessary to define
44 * _VIPS_PUBLIC as __declspec(dllexport) when building a DLL.
45 */
46#ifndef _VIPS_PUBLIC
47#define _VIPS_PUBLIC
48#endif
49
50#define VIPS_CPLUSPLUS_API _VIPS_PUBLIC
51
52#define VIPS_NAMESPACE_START namespace vips {
53#define VIPS_NAMESPACE_END }
54
55#include "VError8.h"
56#include "VImage8.h"
57#include "VInterpolate8.h"
58#include "VRegion8.h"
59#include "VConnection8.h"
60
61/* restore Qt keywords if they were disabled for GLib inclusion */
62#ifdef _VIPS_QT_SIGNALS_DEFINED
63#define signals Q_SIGNALS
64#undef _VIPS_QT_SIGNALS_DEFINED
65#endif
66
67#endif /*VIPS_CPLUSPLUS*/