diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2008-08-29 21:08:38 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2008-08-29 21:08:38 +0000 |
commit | 5d22e3cbdd251819a4d2d07b9a12994d5aef778d (patch) | |
tree | 4c6a81187ccf065a5f296a903b9f7da88503e403 /utils/wpseditor/libwps/src/dummies.h | |
parent | cc31b1fbdae455f975b69dd6bffc23d8bd021566 (diff) | |
download | rockbox-5d22e3cbdd251819a4d2d07b9a12994d5aef778d.tar.gz rockbox-5d22e3cbdd251819a4d2d07b9a12994d5aef778d.zip |
Add wpseditor, the Google Summer of Code 2008 project of Rostislav Chekan. Closes FS#9327
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18362 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/wpseditor/libwps/src/dummies.h')
-rw-r--r-- | utils/wpseditor/libwps/src/dummies.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/utils/wpseditor/libwps/src/dummies.h b/utils/wpseditor/libwps/src/dummies.h new file mode 100644 index 0000000000..2bfce1d53b --- /dev/null +++ b/utils/wpseditor/libwps/src/dummies.h | |||
@@ -0,0 +1,44 @@ | |||
1 | #ifndef DUMMIES_H_INCLUDED | ||
2 | #define DUMMIES_H_INCLUDED | ||
3 | |||
4 | #include <stdio.h> | ||
5 | |||
6 | #include "settings.h" | ||
7 | #include "gwps.h" | ||
8 | #include "lang.h" | ||
9 | #include "powermgmt.h" | ||
10 | #include "font.h" | ||
11 | #include "playlist.h" | ||
12 | |||
13 | #include "defs.h" | ||
14 | |||
15 | extern struct font sysfont; | ||
16 | extern struct user_settings global_settings; | ||
17 | extern struct wps_state wps_state; | ||
18 | extern struct gui_wps gui_wps[NB_SCREENS]; | ||
19 | extern struct wps_data wps_datas[NB_SCREENS]; | ||
20 | extern struct cuesheet *curr_cue; | ||
21 | extern struct cuesheet *temp_cue; | ||
22 | extern struct system_status global_status; | ||
23 | extern struct gui_syncstatusbar statusbars; | ||
24 | extern struct playlist_info current_playlist; | ||
25 | extern int battery_percent; | ||
26 | extern struct mp3entry current_song, next_song; | ||
27 | extern int _audio_status; | ||
28 | |||
29 | charger_input_state_type charger_input_state; | ||
30 | #if CONFIG_CHARGING >= CHARGING_MONITOR | ||
31 | extern charge_state_type charge_state; | ||
32 | #endif | ||
33 | |||
34 | #if defined(CPU_PP) && defined(BOOTLOADER) | ||
35 | /* We don't enable interrupts in the iPod bootloader, so we need to fake | ||
36 | the current_tick variable */ | ||
37 | #define current_tick (signed)(USEC_TIMER/10000) | ||
38 | #else | ||
39 | extern volatile long current_tick; | ||
40 | #endif | ||
41 | |||
42 | void dummies_init(); | ||
43 | |||
44 | #endif /*DUMMIES_H_INCLUDED*/ | ||