2 * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
3 * 2000 Wim Taymans <wtay@chello.be>
5 * gst_private.h: Private header for within libgst
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.
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.
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.
24 #ifndef __GST_PRIVATE_H__
25 #define __GST_PRIVATE_H__
31 /***** until we have gettext set up properly, don't even try this*/
35 # define _(String) dgettext(PACKAGE,String)
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 */
55 /*** debugging categories *****************************************************/
57 #ifndef GST_DISABLE_GST_DEBUG
59 #include <gst/gstinfo.h>
61 extern GstDebugCategory *GST_CAT_GST_INIT;
62 extern GstDebugCategory *GST_CAT_COTHREADS;
63 extern GstDebugCategory *GST_CAT_COTHREAD_SWITCH;
64 extern GstDebugCategory *GST_CAT_AUTOPLUG;
65 extern GstDebugCategory *GST_CAT_AUTOPLUG_ATTEMPT;
66 extern GstDebugCategory *GST_CAT_PARENTAGE;
67 extern GstDebugCategory *GST_CAT_STATES;
68 extern GstDebugCategory *GST_CAT_PLANNING;
69 extern GstDebugCategory *GST_CAT_SCHEDULING;
70 extern GstDebugCategory *GST_CAT_DATAFLOW;
71 extern GstDebugCategory *GST_CAT_BUFFER;
72 extern GstDebugCategory *GST_CAT_CAPS;
73 extern GstDebugCategory *GST_CAT_CLOCK;
74 extern GstDebugCategory *GST_CAT_ELEMENT_PADS;
75 extern GstDebugCategory *GST_CAT_ELEMENT_FACTORY;
76 extern GstDebugCategory *GST_CAT_PADS;
77 extern GstDebugCategory *GST_CAT_PIPELINE;
78 extern GstDebugCategory *GST_CAT_PLUGIN_LOADING;
79 extern GstDebugCategory *GST_CAT_PLUGIN_INFO;
80 extern GstDebugCategory *GST_CAT_PROPERTIES;
81 extern GstDebugCategory *GST_CAT_THREAD;
82 extern GstDebugCategory *GST_CAT_TYPES;
83 extern GstDebugCategory *GST_CAT_XML;
84 extern GstDebugCategory *GST_CAT_NEGOTIATION;
85 extern GstDebugCategory *GST_CAT_REFCOUNTING;
86 extern GstDebugCategory *GST_CAT_EVENT;
87 extern GstDebugCategory *GST_CAT_PARAMS;
88 extern GstDebugCategory *GST_CAT_CALL_TRACE;
92 #endif /* __GST_PRIVATE_H__ */