diff options
Diffstat (limited to 'include/gst/rtsp/rtsp-prelude.h')
-rw-r--r-- | include/gst/rtsp/rtsp-prelude.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/include/gst/rtsp/rtsp-prelude.h b/include/gst/rtsp/rtsp-prelude.h new file mode 100644 index 0000000000..1086091179 --- /dev/null +++ b/include/gst/rtsp/rtsp-prelude.h @@ -0,0 +1,41 @@ +/* GStreamer Rtsp Library + * Copyright (C) 2018 GStreamer developers + * + * rtsp-prelude.h: prelude include header for gst-rtsp library + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + +#ifndef __GST_RTSP_PRELUDE_H__ +#define __GST_RTSP_PRELUDE_H__ + +#include <gst/gst.h> + +#ifdef BUILDING_GST_RTSP +#define GST_RTSP_API GST_API_EXPORT /* from config.h */ +#else +#define GST_RTSP_API GST_API_IMPORT +#endif + +#ifndef GST_DISABLE_DEPRECATED +#define GST_RTSP_DEPRECATED GST_RTSP_API +#define GST_RTSP_DEPRECATED_FOR(f) GST_RTSP_API +#else +#define GST_RTSP_DEPRECATED G_DEPRECATED GST_RTSP_API +#define GST_RTSP_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) GST_RTSP_API +#endif + +#endif /* __GST_RTSP_PRELUDE_H__ */ |