~ubuntu-branches/ubuntu/jaunty/file-browser-applet/jaunty

« back to all changes in this revision

Viewing changes to src/vfs.h

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Starr-Bochicchio
  • Date: 2008-08-29 13:50:51 UTC
  • mfrom: (2.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20080829135051-bani7mwsfjdbs9fx
Tags: 0.5.9-1
* New upstream release. (Closes: #497078)
* debian/control:
 - Remove Build-Depend on libgnomevfs2-dev and add Build-Depend
   on libglib2.0-dev as upstream has moved to GIO. (Closes: #493878)
 - Remove depreciated Depends and Build Depends on libgnome-desktop{-dev}
* Fixes Lintian warning: timewarp-standards-version

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * File:                                vfs.h
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
8
8
 *
23
23
 * Boston, MA 02110-1301, USA.
24
24
 */
25
25
 
26
 
#ifndef VFS_H
27
 
#define VFS_H
 
26
#ifndef __VFS_H__
 
27
#define __VFS_H__
28
28
 
29
29
#include <glib.h>
30
30
#include <gtk/gtk.h>
31
31
 
32
32
#include "config.h"
33
33
 
34
 
#define DEBUG 1
35
 
 
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
/******************************************************************************/
41
50
 
42
51
#endif