merge TYPEFIND branch. Major changes:
[platform/upstream/gstreamer.git] / gst / gstconfig.h.in
1 /* This header interprets the various GST_* macros that are typically   *
2  * provided by the gstreamer-config or gstreamer.pc files.              */
3
4 #ifndef __GST_CONFIG_H__
5 #define __GST_CONFIG_H__
6
7 /***** trick gtk-doc into believing these symbols are defined (yes, it's ugly) */
8
9 #if 0
10 #define GST_DISABLE_LOADSAVE_REGISTRY 1
11 #define GST_DISABLE_GST_DEBUG 1
12 #define GST_DISABLE_LOADSAVE 1
13 #define GST_DISABLE_AUTOPLUG 1
14 #define GST_DISABLE_PARSE 1
15 #define GST_DISABLE_TRACE 1
16 #define GST_DISABLE_ALLOC_TRACE 1
17 #define GST_DISABLE_REGISTRY 1
18 #define GST_DISABLE_ENUMTYPES 1
19 #define GST_DISABLE_INDEX 1
20 #define GST_DISABLE_PLUGIN 1
21 #define GST_DISABLE_URI 1
22 #endif
23
24
25 /***** disabling of subsystems *****/
26
27 /* wether or not the debugging subsystem is enabled */
28 @GST_DISABLE_GST_DEBUG_DEFINE@
29
30 /* DOES NOT WORK */
31 @GST_DISABLE_LOADSAVE_DEFINE@
32
33 /* DOES NOT WORK */
34 @GST_DISABLE_AUTOPLUG_DEFINE@
35
36 /* DOES NOT WORK */
37 @GST_DISABLE_PARSE_DEFINE@
38
39 /* DOES NOT WORK */
40 @GST_DISABLE_TRACE_DEFINE@
41
42 /* DOES NOT WORK */
43 @GST_DISABLE_ALLOC_TRACE_DEFINE@
44
45 /* DOES NOT WORK */
46 @GST_DISABLE_REGISTRY_DEFINE@
47
48 /* DOES NOT WORK */
49 @GST_DISABLE_ENUMTYPES_DEFINE@
50
51 /* DOES NOT WORK */
52 @GST_DISABLE_INDEX_DEFINE@
53
54 /* DOES NOT WORK */
55 @GST_DISABLE_PLUGIN_DEFINE@
56
57 /* DOES NOT WORK */
58 @GST_DISABLE_URI_DEFINE@
59
60
61 /***** Deal with XML stuff, we have to handle both loadsave and registry *****/
62
63 #if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
64 # include <libxml/parser.h>
65 #else
66 # define GST_DISABLE_LOADSAVE_REGISTRY
67 #endif
68
69 #endif /* __GST_CONFIG_H__ */