Added Shuffle and Loop mode support.
authorJoseph Spiros <joseph.spiros@ithinksw.com>
Sun, 7 Sep 2003 18:03:59 +0000 (18:03 +0000)
committerJoseph Spiros <joseph.spiros@ithinksw.com>
Sun, 7 Sep 2003 18:03:59 +0000 (18:03 +0000)
ITMTRemote.h

index 50c0df1..cc96262 100755 (executable)
@@ -77,6 +77,12 @@ typedef enum {
     ITMTTrackRewinding
 } ITMTTrackState;
 
     ITMTTrackRewinding
 } ITMTTrackState;
 
+typedef enum {
+    ITMTRepeatNoneMode,
+    ITMTRepeatOneMode,
+    ITMTRepeatAllMode
+} ITMTRepeatMode;
+
 @class ITMTRemote, ITMTPlayer, ITMTPlaylist, ITMTTrack, ITMTEqualizer;
 
 @protocol ITMTRemote
 @class ITMTRemote, ITMTPlayer, ITMTPlaylist, ITMTTrack, ITMTEqualizer;
 
 @protocol ITMTRemote
@@ -128,6 +134,12 @@ typedef enum {
 - (ITMTPlaylist *)libraryPlaylist;
 
 - (NSArray *)equalizers;
 - (ITMTPlaylist *)libraryPlaylist;
 
 - (NSArray *)equalizers;
+
+- (ITMTRepeatMode)repeatMode;
+- (BOOL)setRepeatMode:(ITMTRepeatMode)repeatMode;
+
+- (BOOL)shuffleEnabled;
+- (BOOL)enableShuffle:(BOOL)shuffle;
 @end
 
 @interface ITMTPlayer : NSObject <ITMTPlayer>
 @end
 
 @interface ITMTPlayer : NSObject <ITMTPlayer>