diff options
author | William Wilgus <wilgus.william@gmail.com> | 2024-05-06 16:39:57 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2024-05-06 17:27:25 -0400 |
commit | ee840709d3d93376f9b5da6c34572424079304b8 (patch) | |
tree | 2357bb53651524d1cc5dd386fb32ddba15e7be0d /apps/plugin.h | |
parent | 30482bd9087444c434ee4c4cc1756ca9a402f5ad (diff) | |
download | rockbox-ee840709d3d93376f9b5da6c34572424079304b8.tar.gz rockbox-ee840709d3d93376f9b5da6c34572424079304b8.zip |
[Feature] Open plugins now recognizes known filetypes and can run them
now you can run your lua files without having to add the viewer to
the shortcut or if you want a bmp file to be displayed when you start
the device that can be done as well
Change-Id: Ia56b566789623a2ca78d9e4583086db6e2cd689b
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 24eb28b2bd..df519f28cf 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -974,6 +974,7 @@ struct plugin_api { | |||
974 | #endif | 974 | #endif |
975 | int (*playlist_get_first_index)(const struct playlist_info* playlist); | 975 | int (*playlist_get_first_index)(const struct playlist_info* playlist); |
976 | int (*playlist_get_display_index)(void); | 976 | int (*playlist_get_display_index)(void); |
977 | char* (*filetype_get_plugin)(int attr, char *buffer, size_t buffer_len); | ||
977 | }; | 978 | }; |
978 | 979 | ||
979 | /* plugin header */ | 980 | /* plugin header */ |