summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/interfaces/photography.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-03-04 21:30:30 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-03-04 21:30:30 +0000
commit3cfe16cc63e89ba1d37c6f32034a142f5dac847b (patch)
tree220f47dd0617ac10b163e23f515a9afb9d66712f /gst-libs/gst/interfaces/photography.h
parent60080ee20bb900221ff2cfb8ca44db8cb3010542 (diff)
downloadgst-plugins-bad-3cfe16cc63e89ba1d37c6f32034a142f5dac847b.tar.gz
gst-plugins-bad-3cfe16cc63e89ba1d37c6f32034a142f5dac847b.tar.bz2
gst-plugins-bad-3cfe16cc63e89ba1d37c6f32034a142f5dac847b.zip
photography: declare interface as unstable API by means of a warning
Application developers won't know right away which module an interface comes from, and may assume that it is covered by the usual GStreamer API guarantees, so make it as clear as possible that this particular API is still subject to change (should have done that with other libraries in -bad before too really).
Diffstat (limited to 'gst-libs/gst/interfaces/photography.h')
-rw-r--r--gst-libs/gst/interfaces/photography.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst-libs/gst/interfaces/photography.h b/gst-libs/gst/interfaces/photography.h
index afa4631a..b7f6b940 100644
--- a/gst-libs/gst/interfaces/photography.h
+++ b/gst-libs/gst/interfaces/photography.h
@@ -24,6 +24,11 @@
#ifndef __GST_PHOTOGRAPHY_H__
#define __GST_PHOTOGRAPHY_H__
+#ifndef GST_USE_UNSTABLE_API
+#warning "The GstPhotography interface is unstable API and may change in future."
+#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
+#endif
+
#include <gst/gst.h>
#include <gst/interfaces/photography-enumtypes.h>