gstconfig.h.in 1.5 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* This header interprets the various GST_* macros that are typically	*
 * provided by the gstreamer-config or gstreamer.pc files.		*/

#ifndef __GST_CONFIG_H__
#define __GST_CONFIG_H__

/***** trick gtk-doc into believing these symbols are defined (yes, it's ugly) */

#if 0
#define GST_DISABLE_LOADSAVE_REGISTRY 1
#define GST_DISABLE_GST_DEBUG 1
#define GST_DISABLE_LOADSAVE 1
#define GST_DISABLE_PARSE 1
#define GST_DISABLE_TRACE 1
#define GST_DISABLE_ALLOC_TRACE 1
#define GST_DISABLE_REGISTRY 1
#define GST_DISABLE_ENUMTYPES 1
#define GST_DISABLE_INDEX 1
#define GST_DISABLE_PLUGIN 1
#define GST_DISABLE_URI 1
#endif


/***** disabling of subsystems *****/

/* wether or not the debugging subsystem is enabled */
@GST_DISABLE_GST_DEBUG_DEFINE@

/* DOES NOT WORK */
@GST_DISABLE_LOADSAVE_DEFINE@

/* DOES NOT WORK */
@GST_DISABLE_PARSE_DEFINE@

/* DOES NOT WORK */
@GST_DISABLE_TRACE_DEFINE@

/* DOES NOT WORK */
@GST_DISABLE_ALLOC_TRACE_DEFINE@

/* DOES NOT WORK */
@GST_DISABLE_REGISTRY_DEFINE@

/* DOES NOT WORK */
@GST_DISABLE_ENUMTYPES_DEFINE@

/* DOES NOT WORK */
@GST_DISABLE_INDEX_DEFINE@

/* DOES NOT WORK */
@GST_DISABLE_PLUGIN_DEFINE@

/* DOES NOT WORK */
@GST_DISABLE_URI_DEFINE@

56
57
/* printf extension format */
@GST_PRINTF_EXTENSION_FORMAT_DEFINE@
58
59
60
61
62
63
64
65
66
67

/***** Deal with XML stuff, we have to handle both loadsave and registry *****/

#if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
# include <libxml/parser.h>
#else
# define GST_DISABLE_LOADSAVE_REGISTRY
#endif

#endif /* __GST_CONFIG_H__ */