summaryrefslogtreecommitdiffstats
path: root/apps/filetypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/filetypes.h')
-rw-r--r--apps/filetypes.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/filetypes.h b/apps/filetypes.h
index efe9f3f5df..2886fa2850 100644
--- a/apps/filetypes.h
+++ b/apps/filetypes.h
@@ -48,19 +48,20 @@
#define FILE_ATTR_FMS 0x1200 /* FM screen skin file */
#define FILE_ATTR_RFMS 0x1300 /* FM screen skin file */
#define FILE_ATTR_OPX 0x1400 /* open plugins shortcut */
+#define FILE_ATTR_LOG 0x1500 /* log file */
#define FILE_ATTR_MASK 0xFF00 /* which bits tree.c uses for file types */
struct filetype {
char* extension;
int tree_attr;
- enum themable_icons icon;
- int voiceclip;
};
-void tree_get_filetypes(const struct filetype**, int*) INIT_ATTR;
+
+long tree_get_filetype_voiceclip(int attr);
/* init the filetypes structs.
uses audio buffer for storage, so call early in init... */
void filetype_init(void) INIT_ATTR;
+
void read_viewer_theme_file(void);
#ifdef HAVE_LCD_COLOR
void read_color_theme_file(void);