| 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., 51 Franklin St, Fifth Floor, |
| 20 | * Boston, MA 02110-1301, USA. |
| 21 | */ |
| 22 | |
| 23 | |
| 24 | #ifndef __GST_H__ |
| 25 | #define __GST_H__ |
| 26 | |
| 27 | #include <glib.h> |
| 28 | |
| 29 | #include <gst/glib-compat.h> |
| 30 | |
| 31 | #include <gst/gstenumtypes.h> |
| 32 | #include <gst/gstversion.h> |
| 33 | |
| 34 | #include <gst/gstatomicqueue.h> |
| 35 | #include <gst/gstbin.h> |
| 36 | #include <gst/gstbuffer.h> |
| 37 | #include <gst/gstbufferlist.h> |
| 38 | #include <gst/gstbufferpool.h> |
| 39 | #include <gst/gstbytearrayinterface.h> |
| 40 | #include <gst/gstcaps.h> |
| 41 | #include <gst/gstcapsfeatures.h> |
| 42 | #include <gst/gstchildproxy.h> |
| 43 | #include <gst/gstclock.h> |
| 44 | #include <gst/gstcontrolsource.h> |
| 45 | #include <gst/gstdatetime.h> |
| 46 | #include <gst/gstdebugutils.h> |
| 47 | #include <gst/gstdevice.h> |
| 48 | #include <gst/gstdevicemonitor.h> |
| 49 | #include <gst/gstdeviceprovider.h> |
| 50 | #include <gst/gstdynamictypefactory.h> |
| 51 | #include <gst/gstelement.h> |
| 52 | #include <gst/gstelementmetadata.h> |
| 53 | #include <gst/gsterror.h> |
| 54 | #include <gst/gstevent.h> |
| 55 | #include <gst/gstghostpad.h> |
| 56 | #include <gst/gstinfo.h> |
| 57 | #include <gst/gstiterator.h> |
| 58 | #include <gst/gstmessage.h> |
| 59 | #include <gst/gstmemory.h> |
| 60 | #include <gst/gstmeta.h> |
| 61 | #include <gst/gstminiobject.h> |
| 62 | #include <gst/gstobject.h> |
| 63 | #include <gst/gststreamcollection.h> |
| 64 | #include <gst/gstpad.h> |
| 65 | #include <gst/gstparamspecs.h> |
| 66 | #include <gst/gstpipeline.h> |
| 67 | #include <gst/gstplugin.h> |
| 68 | #include <gst/gstpoll.h> |
| 69 | #include <gst/gstpreset.h> |
| 70 | #include <gst/gstprotection.h> |
| 71 | #include <gst/gstquery.h> |
| 72 | #include <gst/gstregistry.h> |
| 73 | #include <gst/gstpromise.h> |
| 74 | #include <gst/gstsample.h> |
| 75 | #include <gst/gstsegment.h> |
| 76 | #include <gst/gststreams.h> |
| 77 | #include <gst/gststructure.h> |
| 78 | #include <gst/gstsystemclock.h> |
| 79 | #include <gst/gsttaglist.h> |
| 80 | #include <gst/gsttagsetter.h> |
| 81 | #include <gst/gsttask.h> |
| 82 | #include <gst/gsttaskpool.h> |
| 83 | #include <gst/gsttoc.h> |
| 84 | #include <gst/gsttocsetter.h> |
| 85 | #include <gst/gsttracer.h> |
| 86 | #include <gst/gsttracerfactory.h> |
| 87 | #include <gst/gsttracerrecord.h> |
| 88 | #include <gst/gsttypefind.h> |
| 89 | #include <gst/gsttypefindfactory.h> |
| 90 | #include <gst/gsturi.h> |
| 91 | #include <gst/gstutils.h> |
| 92 | #include <gst/gstvalue.h> |
| 93 | |
| 94 | #include <gst/gstparse.h> |
| 95 | |
| 96 | /* API compatibility stuff */ |
| 97 | #include <gst/gstcompat.h> |
| 98 | |
| 99 | #ifdef __APPLE__ |
| 100 | # include <TargetConditionals.h> |
| 101 | # if TARGET_OS_MAC && !TARGET_OS_IPHONE |
| 102 | # include <gst/gstmacos.h> |
| 103 | # endif |
| 104 | #endif |
| 105 | |
| 106 | G_BEGIN_DECLS |
| 107 | |
| 108 | GST_API |
| 109 | void gst_init (int *argc, char **argv[]); |
| 110 | |
| 111 | GST_API |
| 112 | gboolean gst_init_check (int *argc, char **argv[], |
| 113 | GError ** error); |
| 114 | GST_API |
| 115 | gboolean gst_is_initialized (void); |
| 116 | |
| 117 | GST_API |
| 118 | GOptionGroup * gst_init_get_option_group (void); |
| 119 | |
| 120 | GST_API |
| 121 | void gst_deinit (void); |
| 122 | |
| 123 | GST_API |
| 124 | void gst_version (guint *major, guint *minor, |
| 125 | guint *micro, guint *nano); |
| 126 | GST_API |
| 127 | gchar * gst_version_string (void); |
| 128 | |
| 129 | GST_API |
| 130 | gboolean gst_segtrap_is_enabled (void); |
| 131 | |
| 132 | GST_API |
| 133 | void gst_segtrap_set_enabled (gboolean enabled); |
| 134 | |
| 135 | GST_API |
| 136 | gboolean gst_registry_fork_is_enabled (void); |
| 137 | |
| 138 | GST_API |
| 139 | void gst_registry_fork_set_enabled (gboolean enabled); |
| 140 | |
| 141 | GST_API |
| 142 | gboolean gst_update_registry (void); |
| 143 | |
| 144 | GST_API |
| 145 | const gchar * gst_get_main_executable_path (void); |
| 146 | |
| 147 | G_END_DECLS |
| 148 | |
| 149 | #endif /* __GST_H__ */ |
| 150 | |