- Removed unused locking from the cothreads
[platform/upstream/gstreamer.git] / gst / gst.h
1 /* GStreamer
2  * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
3  *                    2000 Wim Taymans <wtay@chello.be>
4  *
5  * gst.h: Main header for GStreamer, apps should include this
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_H__
25 #define __GST_H__
26
27 #include <glib.h>
28 #include <popt.h>
29
30 #include <gst/gstversion.h>
31 #include <gst/gsttypes.h>
32
33 #include <gst/gstinfo.h>
34 #include <gst/gstobject.h>
35 #include <gst/gstpad.h>
36 #include <gst/gstbuffer.h>
37 #include <gst/gstcpu.h>
38 #include <gst/gstelement.h>
39 #include <gst/gstbin.h>
40 #include <gst/gstpipeline.h>
41 #include <gst/gstthread.h>
42 #include <gst/gsttype.h>
43 #include <gst/gstautoplug.h>
44 #include <gst/gstcaps.h>
45 #include <gst/gstprops.h>
46 #include <gst/gstplugin.h>
47 #include <gst/gstutils.h>
48 #include <gst/gsttrace.h>
49 #include <gst/gstxml.h>
50 #include <gst/gstscheduler.h>
51 #include <gst/gsttimecache.h>
52 #include <gst/gstevent.h>
53 #include <gst/gstclock.h>
54 #include <gst/gstsystemclock.h>
55
56 #include <gst/gstparse.h>
57 #include <gst/gstregistry.h>
58 #include <gst/gstextratypes.h>
59 #include <gst/gstenumtypes.h>
60
61 G_BEGIN_DECLS
62
63 /* initialize GST */
64 void                            gst_init                        (int *argc, char **argv[]);
65 void                            gst_init_with_popt_table        (int *argc, char **argv[], 
66                                                                  const struct poptOption *popt_options);
67 const struct poptOption*        gst_init_get_popt_table         (void);
68
69 void                            gst_use_threads                 (gboolean use_threads);
70 gboolean                        gst_has_threads                 (void);
71
72 void                            gst_main                        (void);
73 void                            gst_main_quit                   (void);
74
75 G_END_DECLS
76
77 #include <gst/gstlog.h>
78
79 #endif /* __GST_H__ */