3
3
* Created: February 2008
4
4
* Created by: Axel von Bertoldi
5
* Last Modified: March 2008
5
* Last Modified: August 2008
6
6
* Last Modified by: Axel von Bertoldi
7
7
* (C) 2005-2008 Axel von Bertoldi
23
23
* Boston, MA 02110-1301, USA.
30
30
#include <gtk/gtk.h>
32
32
#include "config.h"
36
gboolean vfs_file_is_executable (const gchar *file_name);
37
gboolean vfs_file_is_desktop (const gchar *file_name);
38
gboolean vfs_file_exists (const gchar *file_name);
39
gchar* vfs_get_mime_application (const gchar *file_name_and_path);
40
gchar* vfs_get_dir_contents (GPtrArray *files, GPtrArray *dirs, gboolean show_hidden, gchar *path);
34
/******************************************************************************/
35
gboolean vfs_file_is_executable (const gchar *file_name);
36
gboolean vfs_file_is_desktop (const gchar *file_name);
37
gboolean vfs_file_exists (const gchar *file_name);
38
gboolean vfs_file_is_directory (const gchar *file_name);
39
gchar* vfs_get_mime_application (const gchar *file_name_and_path);
40
gchar* vfs_get_dir_listings (GPtrArray *files, GPtrArray *dirs, gboolean show_hidden, gchar *path);
41
gboolean vfs_launch_desktop_file (const gchar *file_name);
42
void vfs_launch_app (gchar **args, const gchar *working_dir);
43
void vfs_edit_file (const gchar *file_name_and_path, gchar *editor_bin);
44
void vfs_launch_terminal (const gchar *path, gchar *terminal_bin);
45
void vfs_open_file (const gchar *file_name_and_path, gint exec_action);
46
void vfs_trash_file (gchar *file_name);
47
GtkWidget* vfs_get_icon_for_file (const gchar *file_name);
48
const gchar*vfs_get_desktop_app_name (const gchar *file_name);
49
/******************************************************************************/