diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-11-18 09:03:25 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-11-18 09:03:25 +0000 |
commit | 09fce707c117aa4006ca30a5a0bf9eb7a89e2caa (patch) | |
tree | 9345d5f6d7d06e122520347a3d9fa3127d3bd4fe /apps/gui/gwps-common.h | |
parent | fe2c40aedb514126605d5c370ad9792cceadac57 (diff) | |
download | rockbox-09fce707c117aa4006ca30a5a0bf9eb7a89e2caa.tar.gz rockbox-09fce707c117aa4006ca30a5a0bf9eb7a89e2caa.zip |
Missing file headers put back. Code within 80 cols. Code policed indenting
and style. Simplified struct levels. #if 0'ed unused functions. Made private
stuff static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7954 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps-common.h')
-rw-r--r-- | apps/gui/gwps-common.h | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/apps/gui/gwps-common.h b/apps/gui/gwps-common.h index 5cf052898d..fe7f2f66da 100644 --- a/apps/gui/gwps-common.h +++ b/apps/gui/gwps-common.h | |||
@@ -1,18 +1,32 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 Björn Stenberg | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
1 | #ifndef _GWPS_COMMON_ | 19 | #ifndef _GWPS_COMMON_ |
2 | #define _GWPS_COMMON_ | 20 | #define _GWPS_COMMON_ |
3 | #include <stdbool.h> | 21 | #include <stdbool.h> |
4 | #include <sys/types.h> /* for size_t */ | 22 | #include <sys/types.h> /* for size_t */ |
5 | 23 | ||
6 | /* to avoid the unnecessary include if gwps.h */ | 24 | #include "gwps.h" |
7 | struct mp3entry; | ||
8 | struct gui_img; | ||
9 | struct wps_data; | ||
10 | struct gui_wps; | ||
11 | struct align_pos; | ||
12 | 25 | ||
13 | void gui_wps_format_time(char* buf, int buf_size, long time); | 26 | void gui_wps_format_time(char* buf, int buf_size, long time); |
14 | void fade(bool fade_in); | 27 | void fade(bool fade_in); |
15 | void gui_wps_format(struct wps_data *data, const char *bmpdir, size_t bmpdirlen); | 28 | void gui_wps_format(struct wps_data *data, const char *bmpdir, |
29 | size_t bmpdirlen); | ||
16 | bool gui_wps_refresh(struct gui_wps *gwps, int ffwd_offset, | 30 | bool gui_wps_refresh(struct gui_wps *gwps, int ffwd_offset, |
17 | unsigned char refresh_mode); | 31 | unsigned char refresh_mode); |
18 | bool gui_wps_display(void); | 32 | bool gui_wps_display(void); |