fix doc build fix autogen
[platform/upstream/gstreamer.git] / gst / gsturitype.c
1 /* GStreamer
2  * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
3  *                    2000 Wim Taymans <wtay@chello.be>
4  *
5  * gsturi.c: register URI handlers
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 #include "gst_private.h"
24
25 #include "gsturi.h"
26 #include "gstinfo.h"
27
28 GType
29 gst_uri_get_uri_type (void)
30 {
31   static GType uri_type = 0;
32
33   if (!uri_type) {
34     static const GTypeInfo uri_info = {
35       0,
36       NULL,
37       NULL,
38       NULL,
39       NULL,
40       NULL,
41       0,
42       0,
43       NULL,
44       NULL
45     };
46     uri_type = g_type_register_static (G_TYPE_STRING, "GstUri", &uri_info, 0);
47   }
48   return uri_type;
49 }