From b89b5ba2ee31bd351710670cf5ecc5aa8beb95f3 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sun, 15 Oct 2006 11:01:18 +0000 Subject: (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 --- apps/tagcache.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/tagcache.h') 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 bool numeric; bool input; long numeric_data; - char str[128]; + char *str; }; struct tagcache_search { @@ -139,6 +139,8 @@ bool tagcache_is_numeric_tag(int type); bool tagcache_is_unique_tag(int type); bool tagcache_is_sorted_tag(int type); bool tagcache_find_index(struct tagcache_search *tcs, const char *filename); +bool tagcache_check_clauses(struct tagcache_search *tcs, + struct tagcache_search_clause **clause, int count); bool tagcache_search(struct tagcache_search *tcs, int tag); void tagcache_search_set_uniqbuf(struct tagcache_search *tcs, void *buffer, long length); -- cgit v1.2.3