diff options
Diffstat (limited to 'subsonic-android/src/github/daneren2005/subphonic/domain/RepeatMode.java')
-rw-r--r-- | subsonic-android/src/github/daneren2005/subphonic/domain/RepeatMode.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/subphonic/domain/RepeatMode.java b/subsonic-android/src/github/daneren2005/subphonic/domain/RepeatMode.java new file mode 100644 index 00000000..41421ef2 --- /dev/null +++ b/subsonic-android/src/github/daneren2005/subphonic/domain/RepeatMode.java @@ -0,0 +1,28 @@ +package github.daneren2005.subphonic.domain; + +/** + * @author Sindre Mehus + * @version $Id$ + */ +public enum RepeatMode { + OFF { + @Override + public RepeatMode next() { + return ALL; + } + }, + ALL { + @Override + public RepeatMode next() { + return SINGLE; + } + }, + SINGLE { + @Override + public RepeatMode next() { + return OFF; + } + }; + + public abstract RepeatMode next(); +} |