diff options
author | Christi Scarborough <christi@coraline.org> | 2005-06-29 12:23:09 +0000 |
---|---|---|
committer | Christi Scarborough <christi@coraline.org> | 2005-06-29 12:23:09 +0000 |
commit | 9e8918b0866b249a55c06a16a243cdd3dcdad305 (patch) | |
tree | 954d2eab9141f0a9a0777f9ce9eceb15af1b569a /apps/settings.h | |
parent | 1f45cce4262bde3f91844701085076892b4743f8 (diff) | |
download | rockbox-9e8918b0866b249a55c06a16a243cdd3dcdad305.tar.gz rockbox-9e8918b0866b249a55c06a16a243cdd3dcdad305.zip |
Resume rework. With the new resume function, 'Ask' and 'Ask Once' are redundant options, since you can resume after any startup using the resume key. These have been stripped out, and the resume code has been streamlined. A small bug in button handler initialisation has been fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6911 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/settings.h b/apps/settings.h index bb4f5fbf32..d630db7f35 100644 --- a/apps/settings.h +++ b/apps/settings.h | |||
@@ -78,11 +78,6 @@ | |||
78 | 78 | ||
79 | /* data structures */ | 79 | /* data structures */ |
80 | 80 | ||
81 | #define RESUME_OFF 0 | ||
82 | #define RESUME_ASK 1 | ||
83 | #define RESUME_ASK_ONCE 2 | ||
84 | #define RESUME_ON 3 | ||
85 | |||
86 | #define BOOKMARK_NO 0 | 81 | #define BOOKMARK_NO 0 |
87 | #define BOOKMARK_YES 1 | 82 | #define BOOKMARK_YES 1 |
88 | #define BOOKMARK_ASK 2 | 83 | #define BOOKMARK_ASK 2 |
@@ -211,7 +206,7 @@ struct user_settings | |||
211 | 206 | ||
212 | /* resume settings */ | 207 | /* resume settings */ |
213 | 208 | ||
214 | int resume; /* resume option: 0=off, 1=ask, 2=on */ | 209 | bool resume; /* resume option: 0=off, 1=on */ |
215 | int resume_index; /* index in playlist (-1 for no active resume) */ | 210 | int resume_index; /* index in playlist (-1 for no active resume) */ |
216 | int resume_first_index; /* index of first track in playlist */ | 211 | int resume_first_index; /* index of first track in playlist */ |
217 | int resume_offset; /* byte offset in mp3 file */ | 212 | int resume_offset; /* byte offset in mp3 file */ |