3
* Created: February 2008
4
* Created by: Axel von Bertoldi
5
* Last Modified: August 2008
6
* Last Modified by: Axel von Bertoldi
7
* (C) 2005-2008 Axel von Bertoldi
3
* Created: February 2008
4
* Created by: Axel von Bertoldi
5
* Last Modified: August 2008
6
* Last Modified by: Axel von Bertoldi
7
* (C) 2005-2008 Axel von Bertoldi
9
9
* This program is free software; you can redistribute it and/or modify it
10
10
* under the terms of the GNU General Public License as published by the Free
31
31
/******************************************************************************/
37
37
/******************************************************************************/
38
38
typedef struct _VfsFileInfo VfsFileInfo;
39
39
/******************************************************************************/
40
40
struct _VfsFileInfo {
41
gchar *display_name; /* need to free this */
42
gchar *file_name; /* need to free this */
43
GtkWidget *icon; /* don't need to free this */
44
gboolean is_executable;
41
gchar *display_name; /* need to free this */
42
gchar *file_name; /* need to free this */
43
GtkWidget *icon; /* don't need to free this */
44
gboolean is_executable;
46
46
/******************************************************************************/
47
gboolean vfs_file_is_executable (const gchar *file_name);
48
gboolean vfs_file_is_desktop (const gchar *file_name);
49
gboolean vfs_file_is_directory (const gchar *file_name);
50
gboolean vfs_file_exists (const gchar *file_name);
52
gchar* vfs_get_dir_listings (GPtrArray *files, GPtrArray *dirs, gboolean show_hidden, const gchar *path);
53
GList* vfs_get_all_mime_applications (const gchar *file_name);
54
GtkWidget* vfs_get_icon_for_file (const gchar *file_name);
56
gboolean vfs_launch_application (const gchar *const*args);
57
gboolean vfs_file_do_default_action (const gchar *file_name);
58
void vfs_file_trash (gchar *file_name);
47
gboolean vfs_file_is_executable (const gchar *file_name);
48
gboolean vfs_file_is_desktop (const gchar *file_name);
49
gboolean vfs_file_is_directory (const gchar *file_name);
50
gboolean vfs_file_exists (const gchar *file_name);
52
gchar* vfs_get_dir_listings (GPtrArray *files, GPtrArray *dirs, gboolean show_hidden, const gchar *path);
53
GList* vfs_get_all_mime_applications (const gchar *file_name);
54
GtkWidget* vfs_get_icon_for_file (const gchar *file_name);
56
gboolean vfs_launch_application (const gchar *const*args);
57
gboolean vfs_file_do_default_action (const gchar *file_name);
58
void vfs_file_trash (const gchar *file_name);
59
59
/******************************************************************************/