diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-10-29 12:02:55 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-10-29 12:02:55 +0000 |
commit | 4d18aa35462c1a1c01aa0c382cf60e3d01a392f6 (patch) | |
tree | 8d40d44f152d2337d64f354fa37cd4df22113207 /apps/tagcache.h | |
parent | bae8f4c3167a0b44ff6516d421e95baaf8937066 (diff) | |
download | rockbox-4d18aa35462c1a1c01aa0c382cf60e3d01a392f6.tar.gz rockbox-4d18aa35462c1a1c01aa0c382cf60e3d01a392f6.zip |
Accept FS#8008 - allows the current artist or album to be used in databse searches (use the #artist# or #album# keywords in tagnavi.config)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15354 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r-- | apps/tagcache.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h index 6b2df6b984..16dac0b41f 100644 --- a/apps/tagcache.h +++ b/apps/tagcache.h | |||
@@ -109,12 +109,18 @@ struct tagcache_stat { | |||
109 | // const char *uimessage; /* Pending error message. Implement soon. */ | 109 | // const char *uimessage; /* Pending error message. Implement soon. */ |
110 | }; | 110 | }; |
111 | 111 | ||
112 | enum source_type {source_constant, source_input, | ||
113 | source_current_artist, source_current_album}; | ||
114 | |||
115 | #define SOURCE_CURRENT_ARTIST "#artist#" | ||
116 | #define SOURCE_CURRENT_ALBUM "#album#" | ||
117 | |||
112 | struct tagcache_search_clause | 118 | struct tagcache_search_clause |
113 | { | 119 | { |
114 | int tag; | 120 | int tag; |
115 | int type; | 121 | int type; |
116 | bool numeric; | 122 | bool numeric; |
117 | bool input; | 123 | int source; |
118 | long numeric_data; | 124 | long numeric_data; |
119 | char *str; | 125 | char *str; |
120 | }; | 126 | }; |