| 1 |
/* GStreamer Controller Library |
| 2 |
* Copyright (C) 2018 GStreamer developers |
| 3 |
* |
| 4 |
* controller-prelude.h: prelude include header for gst-controller library |
| 5 |
* |
| 6 |
* This library is free software; you can redistribute it and/or |
| 7 |
* modify it under the terms of the GNU Library General Public |
| 8 |
* License as published by the Free Software Foundation; either |
| 9 |
* version 2 of the License, or (at your option) any later version. |
| 10 |
* |
| 11 |
* This library is distributed in the hope that it will be useful, |
| 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 |
* Library General Public License for more details. |
| 15 |
* |
| 16 |
* You should have received a copy of the GNU Library General Public |
| 17 |
* License along with this library; if not, write to the |
| 18 |
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, |
| 19 |
* Boston, MA 02110-1301, USA. |
| 20 |
*/ |
| 21 |
|
| 22 |
#ifndef __GST_CONTROLLER_PRELUDE_H__ |
| 23 |
#define __GST_CONTROLLER_PRELUDE_H__ |
| 24 |
|
| 25 |
#include <gst/gst.h> |
| 26 |
|
| 27 |
#ifndef GST_CONTROLLER_API |
| 28 |
#ifdef BUILDING_GST_CONTROLLER |
| 29 |
#define GST_CONTROLLER_API GST_API_EXPORT /* from config.h */ |
| 30 |
#else |
| 31 |
#define GST_CONTROLLER_API GST_API_IMPORT |
| 32 |
#endif |
| 33 |
#endif |
| 34 |
|
| 35 |
/** |
| 36 |
* GST_CONTROLLER_DEPRECATED: |
| 37 |
* |
| 38 |
* Since: 1.28 |
| 39 |
*/ |
| 40 |
/** |
| 41 |
* GST_CONTROLLER_DEPRECATED_FOR: |
| 42 |
* |
| 43 |
* Since: 1.28 |
| 44 |
*/ |
| 45 |
/** |
| 46 |
* GST_CONTROLLER_DEPRECATED_TYPE: |
| 47 |
* |
| 48 |
* Since: 1.28 |
| 49 |
*/ |
| 50 |
/** |
| 51 |
* GST_CONTROLLER_DEPRECATED_TYPE_FOR: |
| 52 |
* |
| 53 |
* Since: 1.28 |
| 54 |
*/ |
| 55 |
#ifndef GST_DISABLE_DEPRECATED |
| 56 |
#define GST_CONTROLLER_DEPRECATED GST_CONTROLLER_API |
| 57 |
#define GST_CONTROLLER_DEPRECATED_FOR(f) GST_CONTROLLER_API |
| 58 |
#define GST_CONTROLLER_DEPRECATED_TYPE |
| 59 |
#define GST_CONTROLLER_DEPRECATED_TYPE_FOR(f) |
| 60 |
#else |
| 61 |
#define GST_CONTROLLER_DEPRECATED G_DEPRECATED GST_CONTROLLER_API |
| 62 |
#define GST_CONTROLLER_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) GST_CONTROLLER_API |
| 63 |
#define GST_CONTROLLER_DEPRECATED_TYPE G_DEPRECATED |
| 64 |
#define GST_CONTROLLER_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) |
| 65 |
#endif |
| 66 |
|
| 67 |
#endif /* __GST_CONTROLLER_PRELUDE_H__ */ |