git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a new currentSongDuration method to the remote.
[MenuTunes.git]
/
ITMTRemote.m
diff --git
a/ITMTRemote.m
b/ITMTRemote.m
index
26fe9a0
..
e4ff611
100755
(executable)
--- a/
ITMTRemote.m
+++ b/
ITMTRemote.m
@@
-79,6
+79,21
@@
return nil;
}
return nil;
}
+- (NSArray *)artists
+{
+ return nil;
+}
+
+- (NSArray *)albums
+{
+ return nil;
+}
+
+- (int)numberOfSources
+{
+ return nil;
+}
+
- (int)numberOfSongsInPlaylistAtIndex:(int)index
{
return nil;
- (int)numberOfSongsInPlaylistAtIndex:(int)index
{
return nil;
@@
-109,6
+124,11
@@
return nil;
}
return nil;
}
+- (BOOL)songEnabledAtIndex:(int)index
+{
+ return nil;
+}
+
- (int)currentAlbumTrackCount
{
return nil;
- (int)currentAlbumTrackCount
{
return nil;
@@
-159,6
+179,11
@@
return nil;
}
return nil;
}
+- (int)currentSongDuration
+{
+ return -1;
+}
+
- (NSString *)currentSongRemaining
{
return nil;
- (NSString *)currentSongRemaining
{
return nil;
@@
-174,6
+199,11
@@
return nil;
}
return nil;
}
+- (int)currentSongPlayCount
+{
+ return nil;
+}
+
- (float)currentSongRating
{
return nil;
- (float)currentSongRating
{
return nil;
@@
-184,7
+214,17
@@
return NO;
}
return NO;
}
-/* - (BOOL)equalizerEnabled
+- (BOOL)currentSongShufflable
+{
+ return NO;
+}
+
+- (BOOL)setCurrentSongShufflable:(BOOL)shufflable
+{
+ return NO;
+}
+
+- (BOOL)equalizerEnabled
{
return NO;
}
{
return NO;
}
@@
-192,7
+232,7
@@
- (BOOL)setEqualizerEnabled:(BOOL)enabled
{
return NO;
- (BOOL)setEqualizerEnabled:(BOOL)enabled
{
return NO;
-}
*/
+}
- (NSArray *)eqPresets
{
- (NSArray *)eqPresets
{
@@
-284,4
+324,9
@@
return NO;
}
return NO;
}
+- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type
+{
+ return NO;
+}
+
@end
@end