diff options
Diffstat (limited to 'apps/filetypes.h')
-rw-r--r-- | apps/filetypes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/filetypes.h b/apps/filetypes.h index 36d9009a87..4039daf497 100644 --- a/apps/filetypes.h +++ b/apps/filetypes.h | |||
@@ -79,9 +79,12 @@ char* filetype_get_plugin(int attr, char *buffer, size_t buffer_len); | |||
79 | /* returns true if the attr is supported */ | 79 | /* returns true if the attr is supported */ |
80 | bool filetype_supported(int attr); | 80 | bool filetype_supported(int attr); |
81 | 81 | ||
82 | /* List avialable viewers */ | 82 | /* List avialable viewers and start selected plugin with current_file as argument */ |
83 | int filetype_list_viewers(const char* current_file); | 83 | int filetype_list_viewers(const char* current_file); |
84 | 84 | ||
85 | /* return the plugin filename the user selected for the file Returns NULL if canceled */ | ||
86 | char* filetype_get_viewer(char *buffer, size_t buffer_len, const char* current_file); | ||
87 | |||
85 | /* start a plugin with file as the argument (called from onplay.c) */ | 88 | /* start a plugin with file as the argument (called from onplay.c) */ |
86 | int filetype_load_plugin(const char* plugin, const char* file); | 89 | int filetype_load_plugin(const char* plugin, const char* file); |
87 | 90 | ||