summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-08-28 17:52:31 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-08-28 17:52:31 +0000
commite09ebc421353c8717d49080443a531d17557a548 (patch)
tree584a0585eabd11b11da7eb0a67e01b9ab3b8cbf2 /apps/plugin.h
parent5628096e51f05f3b1b935dadf934f91a4928d018 (diff)
downloadrockbox-e09ebc421353c8717d49080443a531d17557a548.tar.gz
rockbox-e09ebc421353c8717d49080443a531d17557a548.zip
pitch_detector: cleanup
- cosmetics: remove trailing white space - mark all functions and variables as static - merge struct definition and declaration when possible - rename tuner_settings -> settings (because it's shorter) - remove unused enums - don't give pointer to settings struct as argument since there is only one struct, same for the settings filename - fix error cases in settings load: reset settings when loading failed close file when it hasn't the right size - inline small load/save functions only used once - remove unused print_char_xy - inline print_str and print_int_xy, and use lcd_putsf (added to the plugin API) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27918 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 17c36fa8b1..2bcd93e3ad 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -894,6 +894,8 @@ struct plugin_api {
894 894
895 /* new stuff at the end, sort into place next time 895 /* new stuff at the end, sort into place next time
896 the API gets incompatible */ 896 the API gets incompatible */
897
898 void (*lcd_putsf)(int x, int y, const unsigned char *fmt, ...);
897}; 899};
898 900
899/* plugin header */ 901/* plugin header */