aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-file-helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-file-helpers.h')
-rw-r--r--lib/ephy-file-helpers.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/ephy-file-helpers.h b/lib/ephy-file-helpers.h
index 8b9a99c13..81fdd90f5 100644
--- a/lib/ephy-file-helpers.h
+++ b/lib/ephy-file-helpers.h
@@ -24,6 +24,7 @@
#define EPHY_FILE_HELPERS_H
#include <glib.h>
+#include <libgnomevfs/gnome-vfs-mime-handlers.h>
G_BEGIN_DECLS
@@ -44,7 +45,7 @@ void ephy_file_helpers_shutdown (void);
char *ephy_file_downloads_dir (void);
-char *ephy_file_desktop_dir (void);
+char *ephy_file_desktop_dir (void);
const char *ephy_file_tmp_dir (void);
@@ -64,6 +65,17 @@ void ephy_file_delete_on_exit (const char *path);
EphyMimePermission ephy_file_check_mime (const char *mime_type);
+gboolean ephy_file_launch_desktop_file (const char *filename,
+ guint32 user_time);
+
+gboolean ephy_file_launch_application (GnomeVFSMimeApplication *application,
+ const char *parameter,
+ guint32 user_time);
+
+gboolean ephy_file_launch_handler (const char *mime_type,
+ const char *address,
+ guint32 user_time);
+
G_END_DECLS
#endif /* EPHY_FILE_HELPERS_H */