summaryrefslogtreecommitdiff
path: root/trunk/src/totem-uri.h
blob: a8d64c6e2641ce9aae826053af43cff00511047a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* totem-uri.h

   Copyright (C) 2004 Bastien Nocera <hadess@hadess.net>

   The Gnome Library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Library General Public License as
   published by the Free Software Foundation; either version 2 of the
   License, or (at your option) any later version.

   The Gnome 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
   Library General Public License for more details.

   You should have received a copy of the GNU Library General Public
   License along with the Gnome Library; see the file COPYING.LIB.  If not,
   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.

   Author: Bastien Nocera <hadess@hadess.net>
 */

#ifndef TOTEM_URI_H
#define TOTEM_URI_H

#include "totem.h"
#include <gtk/gtkwindow.h>

G_BEGIN_DECLS

char*		totem_create_full_path	(const char *path);
gboolean	totem_is_media		(const char *uri);
gboolean	totem_playing_dvd	(const char *uri);
gboolean	totem_is_block_device	(const char *uri);
void		totem_setup_file_monitoring (Totem *totem);
void		totem_setup_file_filters (void);
void		totem_destroy_file_filters (void);
char*		totem_uri_get_subtitle_uri (const char *uri);
char*		totem_uri_escape_for_display (const char *uri);
GSList*		totem_add_files		(GtkWindow *parent,
					 const char *path);

G_END_DECLS

#endif /* TOTEM_URI_H */