mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
whitespace cleanups
Original commit message from CVS: whitespace cleanups
This commit is contained in:
parent
46616180d1
commit
2a7078e1e7
1 changed files with 34 additions and 32 deletions
66
gst/gsturi.h
66
gst/gsturi.h
|
@ -40,9 +40,9 @@ typedef enum {
|
|||
|
||||
/* uri handler functions */
|
||||
#define GST_TYPE_URI_HANDLER (gst_uri_handler_get_type ())
|
||||
#define GST_URI_HANDLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_URI_HANDLER, GstURIHandler))
|
||||
#define GST_IS_URI_HANDLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_URI_HANDLER))
|
||||
#define GST_URI_HANDLER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_URI_HANDLER, GstURIHandlerInterface))
|
||||
#define GST_URI_HANDLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_URI_HANDLER, GstURIHandler))
|
||||
#define GST_IS_URI_HANDLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_URI_HANDLER))
|
||||
#define GST_URI_HANDLER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_URI_HANDLER, GstURIHandlerInterface))
|
||||
#define GST_URI_HANDLER_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GST_TYPE_URI_HANDLER, GstURIHandler))
|
||||
|
||||
typedef struct _GstURIHandler GstURIHandler;
|
||||
|
@ -52,53 +52,55 @@ struct _GstURIHandlerInterface {
|
|||
GTypeInterface parent;
|
||||
|
||||
/* signals */
|
||||
void (* new_uri) (GstURIHandler * handler,
|
||||
const gchar * uri);
|
||||
void (* new_uri) (GstURIHandler * handler,
|
||||
const gchar * uri);
|
||||
/* idea for the future ?
|
||||
gboolean (* require_password) (GstURIHandler * handler,
|
||||
gchar ** username,
|
||||
gchar ** password);
|
||||
gboolean (* require_password) (GstURIHandler * handler,
|
||||
gchar ** username,
|
||||
gchar ** password);
|
||||
*/
|
||||
|
||||
/* vtable */
|
||||
|
||||
/* querying capabilities */
|
||||
GstURIType (* get_type) (void);
|
||||
gchar ** (* get_protocols) (void);
|
||||
GstURIType (* get_type) (void);
|
||||
gchar ** (* get_protocols) (void);
|
||||
|
||||
/* using the interface */
|
||||
G_CONST_RETURN gchar *(* get_uri) (GstURIHandler * handler);
|
||||
gboolean (* set_uri) (GstURIHandler * handler,
|
||||
const gchar * uri);
|
||||
|
||||
/* we might want to add functions here to query features, someone with gnome-vfs knowledge go ahead */
|
||||
G_CONST_RETURN gchar *(* get_uri) (GstURIHandler * handler);
|
||||
gboolean (* set_uri) (GstURIHandler * handler,
|
||||
const gchar * uri);
|
||||
|
||||
/* we might want to add functions here to query features,
|
||||
* someone with gnome-vfs knowledge go ahead */
|
||||
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
/* general URI functions */
|
||||
|
||||
gboolean gst_uri_protocol_is_valid (const gchar * protocol);
|
||||
gboolean gst_uri_is_valid (const gchar * uri);
|
||||
gchar * gst_uri_get_protocol (const gchar * uri);
|
||||
gchar * gst_uri_get_location (const gchar * uri);
|
||||
gchar * gst_uri_construct (const gchar * protocol,
|
||||
const gchar * location);
|
||||
gboolean gst_uri_protocol_is_valid (const gchar * protocol);
|
||||
gboolean gst_uri_is_valid (const gchar * uri);
|
||||
gchar * gst_uri_get_protocol (const gchar * uri);
|
||||
gchar * gst_uri_get_location (const gchar * uri);
|
||||
gchar * gst_uri_construct (const gchar * protocol,
|
||||
const gchar * location);
|
||||
|
||||
GstElement * gst_element_make_from_uri (const GstURIType type,
|
||||
const gchar * uri,
|
||||
const gchar * elementname);
|
||||
GstElement * gst_element_make_from_uri (const GstURIType type,
|
||||
const gchar * uri,
|
||||
const gchar * elementname);
|
||||
|
||||
/* accessing the interface */
|
||||
GType gst_uri_handler_get_type (void);
|
||||
GType gst_uri_handler_get_type (void);
|
||||
|
||||
guint gst_uri_handler_get_uri_type (GstURIHandler * handler);
|
||||
gchar ** gst_uri_handler_get_protocols (GstURIHandler * handler);
|
||||
G_CONST_RETURN gchar * gst_uri_handler_get_uri (GstURIHandler * handler);
|
||||
gboolean gst_uri_handler_set_uri (GstURIHandler * handler,
|
||||
const gchar * uri);
|
||||
void gst_uri_handler_new_uri (GstURIHandler * handler,
|
||||
const gchar * uri);
|
||||
guint gst_uri_handler_get_uri_type (GstURIHandler * handler);
|
||||
gchar ** gst_uri_handler_get_protocols (GstURIHandler * handler);
|
||||
G_CONST_RETURN
|
||||
gchar * gst_uri_handler_get_uri (GstURIHandler * handler);
|
||||
gboolean gst_uri_handler_set_uri (GstURIHandler * handler,
|
||||
const gchar * uri);
|
||||
void gst_uri_handler_new_uri (GstURIHandler * handler,
|
||||
const gchar * uri);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue