diff options
| author | Nils Wallménius <nils@rockbox.org> | 2008-09-29 16:29:51 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2008-09-29 16:29:51 +0000 |
| commit | b82fd56e0fc2ca92bdf43256e5d6202fdf742a8a (patch) | |
| tree | 7393bbd45f34c1ea8fbc7f5861035fa893cfaa66 /apps/talk.h | |
| parent | 0326055f9153f6635623f9698c5f1186be5e7c4a (diff) | |
| download | rockbox-b82fd56e0fc2ca92bdf43256e5d6202fdf742a8a.zip rockbox-b82fd56e0fc2ca92bdf43256e5d6202fdf742a8a.tar.gz rockbox-b82fd56e0fc2ca92bdf43256e5d6202fdf742a8a.tar.bz2 rockbox-b82fd56e0fc2ca92bdf43256e5d6202fdf742a8a.tar.xz | |
Delete unused function, const police, minor style police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18664 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.h')
| -rw-r--r-- | apps/talk.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/talk.h b/apps/talk.h index b0a26c3..fc1bfe5 100644 --- a/apps/talk.h +++ b/apps/talk.h @@ -86,15 +86,13 @@ bool is_voice_queued(void); /* Are there more voice clips to be spoken? */ int talk_id(int32_t id, bool enqueue); /* play a voice ID from voicefont */ /* play a thumbnail from file */ int talk_file(const char *root, const char *dir, const char *file, - const char *ext, long *prefix_ids, bool enqueue); + const char *ext, const long *prefix_ids, bool enqueue); /* play file's thumbnail or spell name */ int talk_file_or_spell(const char *dirname, const char* filename, - long *prefix_ids, bool enqueue); + const long *prefix_ids, bool enqueue); /* play dir's thumbnail or spell name */ int talk_dir_or_spell(const char* filename, - long *prefix_ids, bool enqueue); -/* play thumbnails for each components of full path, or spell */ -int talk_fullpath(const char* path, bool enqueue); + const long *prefix_ids, bool enqueue); int talk_number(long n, bool enqueue); /* say a number */ int talk_value(long n, int unit, bool enqueue); /* say a numeric value */ int talk_value_decimal(long n, int unit, int decimals, bool enqueue); @@ -108,8 +106,8 @@ void talk_shutup(void); /* Interrupt voice, as when enqueue is false */ void talk_fractional(char *tbuf, int value, int unit); #if CONFIG_RTC -void talk_time(struct tm *tm, bool enqueue); -void talk_date(struct tm *tm, bool enqueue); +void talk_time(const struct tm *tm, bool enqueue); +void talk_date(const struct tm *tm, bool enqueue); #endif /* CONFIG_RTC */ /* This (otherwise invalid) ID signals the end of the array. */ @@ -120,7 +118,7 @@ void talk_date(struct tm *tm, bool enqueue); void talk_force_enqueue_next(void); /* speaks one or more IDs (from an array)). */ -int talk_idarray(long *idarray, bool enqueue); +int talk_idarray(const long *idarray, bool enqueue); /* This makes an initializer for the array of IDs and takes care to put the final sentinel element at the end. */ #define TALK_IDARRAY(ids...) ((long[]){ids,TALK_FINAL_ID}) |