X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=mafw-gst-subtitles-renderer%2Flibmafw-gst-renderer%2Fmafw-gst-renderer-utils.h;fp=mafw-gst-subtitles-renderer%2Flibmafw-gst-renderer%2Fmafw-gst-renderer-utils.h;h=fd3f44c41207da1c60123d509d14ffd44f89cace;hb=be2c98fb83895d10ac44af7b9a9c3e00ca54bf49;hp=0000000000000000000000000000000000000000;hpb=c2bbb2bb3bead80144e2dda3ccd40599e4a2b48d;p=mafwsubrenderer diff --git a/mafw-gst-subtitles-renderer/libmafw-gst-renderer/mafw-gst-renderer-utils.h b/mafw-gst-subtitles-renderer/libmafw-gst-renderer/mafw-gst-renderer-utils.h new file mode 100644 index 0000000..fd3f44c --- /dev/null +++ b/mafw-gst-subtitles-renderer/libmafw-gst-renderer/mafw-gst-renderer-utils.h @@ -0,0 +1,36 @@ +/* + * This file is a part of MAFW + * + * Copyright (C) 2007, 2008, 2009 Nokia Corporation, all rights reserved. + * + * Contact: Visa Smolander + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; version 2.1 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA + */ +#ifndef MAFW_GST_RENDERER_UTILS_H +#define MAFW_GST_RENDERER_UTILS_H + +G_BEGIN_DECLS + +gboolean convert_utf8(const gchar *src, gchar **dst); +gboolean uri_is_playlist(const gchar *uri); +gboolean uri_is_stream(const gchar *uri); + +char *uri_get_subtitle_uri(const char *uri); + +G_END_DECLS +#endif +/* vi: set noexpandtab ts=8 sw=8 cino=t0,(0: */