68 lines
1.7 KiB
Plaintext
68 lines
1.7 KiB
Plaintext
// Include file to get vips C++ binding
|
|
|
|
/*
|
|
|
|
This file is part of VIPS.
|
|
|
|
VIPS is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU Lesser General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
02110-1301 USA
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
|
|
|
|
*/
|
|
|
|
#ifndef VIPS_CPLUSPLUS
|
|
#define VIPS_CPLUSPLUS
|
|
|
|
/* avoid conflict with Qt definitions, if they exist */
|
|
#if defined(signals) && defined(Q_SIGNALS)
|
|
#define _VIPS_QT_SIGNALS_DEFINED
|
|
#undef signals
|
|
#endif
|
|
|
|
#include <vips/version.h>
|
|
|
|
#include <glib-object.h>
|
|
|
|
/* Note: when building without Meson, it may be necessary to define
|
|
* _VIPS_PUBLIC as __declspec(dllexport) when building a DLL.
|
|
*/
|
|
#ifndef _VIPS_PUBLIC
|
|
#define _VIPS_PUBLIC
|
|
#endif
|
|
|
|
#define VIPS_CPLUSPLUS_API _VIPS_PUBLIC
|
|
|
|
#define VIPS_NAMESPACE_START namespace vips {
|
|
#define VIPS_NAMESPACE_END }
|
|
|
|
#include "VError8.h"
|
|
#include "VImage8.h"
|
|
#include "VInterpolate8.h"
|
|
#include "VRegion8.h"
|
|
#include "VConnection8.h"
|
|
|
|
/* restore Qt keywords if they were disabled for GLib inclusion */
|
|
#ifdef _VIPS_QT_SIGNALS_DEFINED
|
|
#define signals Q_SIGNALS
|
|
#undef _VIPS_QT_SIGNALS_DEFINED
|
|
#endif
|
|
|
|
#endif /*VIPS_CPLUSPLUS*/
|