~ubuntu-branches/ubuntu/hardy/pcmanfm/hardy-backports

« back to all changes in this revision

Viewing changes to src/vfs/vfs-mime-type.h

  • Committer: Bazaar Package Importer
  • Author(s): J?r?me Guelfucci
  • Date: 2008-07-01 00:40:37 UTC
  • mfrom: (5.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080701004037-q6pfacskp0xnk10k
Tags: 0.4.3-1~hardy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#define _VFS_MIME_TYPE_H_
15
15
 
16
16
#include <gdk/gdk.h>
17
 
#include "xdgmime.h"
 
17
#include "mime-type.h"
18
18
 
19
19
G_BEGIN_DECLS
20
20
 
71
71
char* vfs_mime_type_get_default_action( VFSMimeType* mime_type );
72
72
 
73
73
void vfs_mime_type_set_default_action( VFSMimeType* mime_type,
74
 
                                       const char* action );
 
74
                                       const char* desktop_id );
75
75
 
 
76
/* If user-custom desktop file is created, it's returned in custom_desktop. */
76
77
void vfs_mime_type_add_action( VFSMimeType* mime_type,
77
 
                               const char* action );
 
78
                               const char* desktop_id,
 
79
                               char** custom_desktop );
78
80
 
79
81
char** vfs_mime_type_get_all_known_apps();
80
82
 
81
83
char** vfs_mime_type_join_actions( char** list1, gsize len1,
82
84
                                   char** list2, gsize len2 );
83
85
 
 
86
GList* vfs_mime_type_add_reload_cb( GFreeFunc cb, gpointer user_data );
 
87
 
 
88
void vfs_mime_type_remove_reload_cb( GList* cb );
 
89
 
84
90
G_END_DECLS
85
91
 
86
92
#endif