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/gstenumtypes.h> |
---|
31 | #include <gst/gsttypes.h> |
---|
32 | #include <gst/gstversion.h> |
---|
33 | |
---|
34 | #include <gst/gstbin.h> |
---|
35 | #include <gst/gstbuffer.h> |
---|
36 | #include <gst/gstcaps.h> |
---|
37 | #include <gst/gstclock.h> |
---|
38 | #include <gst/gstcpu.h> |
---|
39 | #include <gst/gstelement.h> |
---|
40 | #include <gst/gsterror.h> |
---|
41 | #include <gst/gstevent.h> |
---|
42 | #include <gst/gstindex.h> |
---|
43 | #include <gst/gstinfo.h> |
---|
44 | #include <gst/gstinterface.h> |
---|
45 | #include <gst/gstmarshal.h> |
---|
46 | #include <gst/gstobject.h> |
---|
47 | #include <gst/gstpad.h> |
---|
48 | #include <gst/gstpipeline.h> |
---|
49 | #include <gst/gstplugin.h> |
---|
50 | #include <gst/gstscheduler.h> |
---|
51 | #include <gst/gststructure.h> |
---|
52 | #include <gst/gstsystemclock.h> |
---|
53 | #include <gst/gsttag.h> |
---|
54 | #include <gst/gsttaginterface.h> |
---|
55 | #include <gst/gstthread.h> |
---|
56 | #include <gst/gsttrace.h> |
---|
57 | #include <gst/gsttypefind.h> |
---|
58 | #include <gst/gsturi.h> |
---|
59 | #include <gst/gsturitype.h> |
---|
60 | #include <gst/gstutils.h> |
---|
61 | #include <gst/gstvalue.h> |
---|
62 | #include <gst/gstxml.h> |
---|
63 | |
---|
64 | #include <gst/gstparse.h> |
---|
65 | #include <gst/gstregistry.h> |
---|
66 | #include <gst/gstregistrypool.h> |
---|
67 | |
---|
68 | /* API compatibility stuff */ |
---|
69 | #include <gst/gstcompat.h> |
---|
70 | |
---|
71 | G_BEGIN_DECLS |
---|
72 | |
---|
73 | /* make our own type for poptOption because gtkdoc-1.2 can not handle functions |
---|
74 | * with return types like 'struct abc' |
---|
75 | * Filed as http://bugzilla.gnome.org/show_bug.cgi?id=148507 |
---|
76 | * |
---|
77 | * Btw. popt provides a typedef, but it is: |
---|
78 | * typedef struct poptOption *poptOption |
---|
79 | */ |
---|
80 | typedef struct poptOption GstPoptOption; |
---|
81 | |
---|
82 | #ifndef GST_DISABLE_REGISTRY |
---|
83 | GST_EXPORT gboolean _gst_registry_auto_load; |
---|
84 | #endif |
---|
85 | |
---|
86 | /* initialize GST */ |
---|
87 | void gst_init (int *argc, char **argv[]); |
---|
88 | gboolean gst_init_check (int *argc, char **argv[]); |
---|
89 | void gst_init_with_popt_table (int *argc, char **argv[], |
---|
90 | const GstPoptOption |
---|
91 | *popt_options); |
---|
92 | gboolean gst_init_check_with_popt_table (int *argc, char **argv[], |
---|
93 | const GstPoptOption |
---|
94 | *popt_options); |
---|
95 | |
---|
96 | const GstPoptOption * gst_init_get_popt_table (void); |
---|
97 | |
---|
98 | #ifndef GST_DISABLE_DEPRECATED |
---|
99 | void gst_use_threads (gboolean use_threads); |
---|
100 | gboolean gst_has_threads (void); |
---|
101 | #endif |
---|
102 | |
---|
103 | void gst_main (void); |
---|
104 | void gst_main_quit (void); |
---|
105 | |
---|
106 | G_END_DECLS |
---|
107 | |
---|
108 | #endif /* __GST_H__ */ |
---|