diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-10-15 11:01:18 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-10-15 11:01:18 +0000 |
commit | b89b5ba2ee31bd351710670cf5ecc5aa8beb95f3 (patch) | |
tree | 67fa9676aed7cfca7048bc40e60f71e87007149f /apps/tagcache.h | |
parent | a7acf1351f3088c0d509e87d84db95d38fed788c (diff) | |
download | rockbox-b89b5ba2ee31bd351710670cf5ecc5aa8beb95f3.tar.gz rockbox-b89b5ba2ee31bd351710670cf5ecc5aa8beb95f3.zip |
(1) New syntax to support conditional formatting.
(2) Reduced tagnavi memory consumption.
(3) There was a bug that splash screen counter was counting down when
inserting tracks next. But in fact that might be preferred, so always
count down after successful tagcache query.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11223 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r-- | apps/tagcache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h index f2694cea1b..37423e63c8 100644 --- a/apps/tagcache.h +++ b/apps/tagcache.h | |||
@@ -98,7 +98,7 @@ struct tagcache_search_clause | |||
98 | bool numeric; | 98 | bool numeric; |
99 | bool input; | 99 | bool input; |
100 | long numeric_data; | 100 | long numeric_data; |
101 | char str[128]; | 101 | char *str; |
102 | }; | 102 | }; |
103 | 103 | ||
104 | struct tagcache_search { | 104 | struct tagcache_search { |
@@ -139,6 +139,8 @@ bool tagcache_is_numeric_tag(int type); | |||
139 | bool tagcache_is_unique_tag(int type); | 139 | bool tagcache_is_unique_tag(int type); |
140 | bool tagcache_is_sorted_tag(int type); | 140 | bool tagcache_is_sorted_tag(int type); |
141 | bool tagcache_find_index(struct tagcache_search *tcs, const char *filename); | 141 | bool tagcache_find_index(struct tagcache_search *tcs, const char *filename); |
142 | bool tagcache_check_clauses(struct tagcache_search *tcs, | ||
143 | struct tagcache_search_clause **clause, int count); | ||
142 | bool tagcache_search(struct tagcache_search *tcs, int tag); | 144 | bool tagcache_search(struct tagcache_search *tcs, int tag); |
143 | void tagcache_search_set_uniqbuf(struct tagcache_search *tcs, | 145 | void tagcache_search_set_uniqbuf(struct tagcache_search *tcs, |
144 | void *buffer, long length); | 146 | void *buffer, long length); |