310df32f6a7dc5ab48fd351140df54c7c614b1fc
[platform/upstream/gstreamer.git] / gst / gst_private.h
1 /* GStreamer
2  * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
3  *                    2000 Wim Taymans <wtay@chello.be>
4  *
5  * gst_private.h: Private header for within libgst
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Library General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Library General Public License for more details.
16  *
17  * You should have received a copy of the GNU Library General Public
18  * License along with this library; if not, write to the
19  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20  * Boston, MA 02111-1307, USA.
21  */
22
23
24 #ifndef __GST_PRIVATE_H__
25 #define __GST_PRIVATE_H__
26
27 #ifdef HAVE_CONFIG_H
28 #  include "config.h"
29 #endif
30
31 /***** until we have gettext set up properly, don't even try this*/
32
33 # ifdef ENABLE_NLS
34 #  include <libintl.h>
35 #  define _(String) dgettext(GETTEXT_PACKAGE,String)
36 #  ifdef gettext_noop
37 #   define N_(String) gettext_noop(String)
38 #  else /* gettext_noop */
39 #   define N_(String) (String)
40 #  endif /* gettext_noop */
41 # else /* ENABLE_NLS */
42 #  define _(String) (String)
43 #  define N_(String) (String)
44 #  define textdomain(String) (String)
45 #  define gettext(String) (String)
46 #  define dgettext(Domain,String) (String)
47 #  define dcgettext(Domain,String,Type) (String)
48 #  define bindtextdomain(Domain,Directory) (Domain)
49 # endif /* ENABLE_NLS */
50
51 #include <stdlib.h>
52 #include <string.h>
53
54 /*** debugging categories *****************************************************/
55
56 #ifndef GST_DISABLE_GST_DEBUG
57
58 #include <gst/gstinfo.h>
59
60 extern GstDebugCategory *GST_CAT_GST_INIT;
61 extern GstDebugCategory *GST_CAT_COTHREADS;
62 extern GstDebugCategory *GST_CAT_COTHREAD_SWITCH;
63 extern GstDebugCategory *GST_CAT_AUTOPLUG;
64 extern GstDebugCategory *GST_CAT_AUTOPLUG_ATTEMPT;
65 extern GstDebugCategory *GST_CAT_PARENTAGE;
66 extern GstDebugCategory *GST_CAT_STATES;
67 extern GstDebugCategory *GST_CAT_PLANNING;
68 extern GstDebugCategory *GST_CAT_SCHEDULING;
69 extern GstDebugCategory *GST_CAT_DATAFLOW;
70 extern GstDebugCategory *GST_CAT_BUFFER;
71 extern GstDebugCategory *GST_CAT_CAPS;
72 extern GstDebugCategory *GST_CAT_CLOCK;
73 extern GstDebugCategory *GST_CAT_ELEMENT_PADS;
74 extern GstDebugCategory *GST_CAT_PADS;
75 extern GstDebugCategory *GST_CAT_PIPELINE;
76 extern GstDebugCategory *GST_CAT_PLUGIN_LOADING;
77 extern GstDebugCategory *GST_CAT_PLUGIN_INFO;
78 extern GstDebugCategory *GST_CAT_PROPERTIES;
79 extern GstDebugCategory *GST_CAT_THREAD;
80 extern GstDebugCategory *GST_CAT_XML;
81 extern GstDebugCategory *GST_CAT_NEGOTIATION;
82 extern GstDebugCategory *GST_CAT_REFCOUNTING;
83 extern GstDebugCategory *GST_CAT_EVENT;
84 extern GstDebugCategory *GST_CAT_PARAMS;
85 extern GstDebugCategory *GST_CAT_CALL_TRACE;
86
87 #endif
88
89 #endif /* __GST_PRIVATE_H__ */