Logo Search packages:      
Sourcecode: file-browser-applet version File versions  Download package


 * File:                      vfs.h
 * Created:                   February 2008
 * Created by:                Axel von Bertoldi
 * Last Modified:       August 2008
 * Last Modified by:    Axel von Bertoldi
 * (C) 2005-2008        Axel von Bertoldi
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your option)
 * any later version.
 * This program 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 General Public License for
 * more details.
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to:
 * The Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor
 * Boston, MA 02110-1301, USA.

#ifndef __VFS_H__
#define __VFS_H__

#include <glib.h>
#include <gtk/gtk.h>

#include "config.h"

gboolean    vfs_file_is_executable   (const gchar *file_name);
gboolean    vfs_file_is_desktop            (const gchar *file_name);
gboolean    vfs_file_exists                (const gchar *file_name);
gboolean    vfs_file_is_directory    (const gchar *file_name);
gchar*            vfs_get_mime_application (const gchar *file_name_and_path);
gchar*            vfs_get_dir_listings     (GPtrArray *files, GPtrArray *dirs, gboolean show_hidden, gchar *path);
gboolean    vfs_launch_desktop_file  (const gchar *file_name);
void        vfs_launch_app                 (gchar **args, const gchar *working_dir);
void        vfs_edit_file                  (const gchar *file_name_and_path, gchar *editor_bin);
void        vfs_launch_terminal            (const gchar *path, gchar *terminal_bin);
void        vfs_open_file                  (const gchar *file_name_and_path, gint exec_action);
void        vfs_trash_file                 (gchar *file_name);
GtkWidget*  vfs_get_icon_for_file    (const gchar *file_name);
const gchar*vfs_get_desktop_app_name (const gchar *file_name);


Generated by  Doxygen 1.6.0   Back to index