summaryrefslogtreecommitdiff
path: root/apps/misc.h
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2023-01-10 18:50:05 +0100
committerChristian Soffke <christian.soffke@gmail.com>2023-01-19 15:56:35 -0500
commit32f365bf3cdcaadb22087041bfc44574737b557d (patch)
treeeff68bbaa18d6b1ff8e2d0fd581c461412a55ad6 /apps/misc.h
parent4d53d1b52b858d4a1e90fc74fb93cda957d00cb4 (diff)
downloadrockbox-32f365bf3cdcaadb22087041bfc44574737b557d.tar.gz
rockbox-32f365bf3cdcaadb22087041bfc44574737b557d.zip
database: make parent tables work with plugin
Enables the use of PictureFlow and the Properties plugin with parent tables of ALLSUBENTRIES, such as an album or album artist, instead of individual tracks. Change-Id: I18c4779ed116a48c732ae32b9629e7e0d93ce7c8
Diffstat (limited to 'apps/misc.h')
-rw-r--r--apps/misc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h
index 51684cb658..403a8c53ac 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -187,6 +187,9 @@ enum current_activity {
187 ACTIVITY_USBSCREEN 187 ACTIVITY_USBSCREEN
188}; 188};
189 189
190/* custom string representation of activity */
191#define MAKE_ACT_STR(act) ((char[3]){'>', 'A'+ (act), 0x0})
192
190void beep_play(unsigned int frequency, unsigned int duration, 193void beep_play(unsigned int frequency, unsigned int duration,
191 unsigned int amplitude); 194 unsigned int amplitude);
192 195