From b2a6120d19163cdca60565d3c26d71cf95d97230 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 22 Feb 2011 04:13:05 +0000 Subject: Add suil stub. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3003 a436a847-0d15-0410-975c-d299462d15a1 --- suil/suil.h | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 suil/suil.h (limited to 'suil/suil.h') diff --git a/suil/suil.h b/suil/suil.h new file mode 100644 index 0000000..ffe0069 --- /dev/null +++ b/suil/suil.h @@ -0,0 +1,63 @@ +/* Suil, an LV2 plugin UI hosting library. + * Copyright 2011 David Robillard + * + * Suil 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 3 of the License, or + * (at your option) any later version. + * + * Suil 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 details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + +/** @file + * Public Suil API. + */ + +#ifndef SUIL_SUIL_H +#define SUIL_SUIL_H + +#include +#include +#include +#include + +#ifdef SUIL_SHARED + #if defined _WIN32 || defined __CYGWIN__ + #define SUIL_LIB_IMPORT __declspec(dllimport) + #define SUIL_LIB_EXPORT __declspec(dllexport) + #else + #define SUIL_LIB_IMPORT __attribute__ ((visibility("default"))) + #define SUIL_LIB_EXPORT __attribute__ ((visibility("default"))) + #endif + #ifdef SUIL_INTERNAL + #define SUIL_API SUIL_LIB_EXPORT + #else + #define SUIL_API SUIL_LIB_IMPORT + #endif +#else + #define SUIL_API +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/** @defgroup suil Suil + * A library for hosting LV2 plugin UIs. + * @{ + */ + + +/** @} */ + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* SUIL_SUIL_H */ -- cgit v1.2.1