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
50fcb21
..
e4ff611
100755
(executable)
--- a/
ITMTRemote.m
+++ b/
ITMTRemote.m
@@
-79,12
+79,37
@@
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;
}
-- (ITMTRemotePlayerPlaylistClass)classOfPlaylistAtIndex:(int)index
+- (ITMTRemotePlayerSource)currentSource
+{
+ return nil;
+}
+
+- (int)currentSourceIndex
+{
+ return nil;
+}
+
+- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
{
return nil;
}
{
return nil;
}
@@
-99,6
+124,26
@@
return nil;
}
return nil;
}
+- (BOOL)songEnabledAtIndex:(int)index
+{
+ return nil;
+}
+
+- (int)currentAlbumTrackCount
+{
+ return nil;
+}
+
+- (int)currentSongTrack
+{
+ return nil;
+}
+
+- (NSString *)playerStateUniqueIdentifier
+{
+ return nil;
+}
+
- (int)currentSongIndex
{
return nil;
- (int)currentSongIndex
{
return nil;
@@
-114,6
+159,11
@@
return nil;
}
return nil;
}
+- (NSString *)currentSongComposer
+{
+ return nil;
+}
+
- (NSString *)currentSongAlbum
{
return nil;
- (NSString *)currentSongAlbum
{
return nil;
@@
-129,11
+179,31
@@
return nil;
}
return nil;
}
+- (int)currentSongDuration
+{
+ return -1;
+}
+
- (NSString *)currentSongRemaining
{
return nil;
}
- (NSString *)currentSongRemaining
{
return nil;
}
+- (NSString *)currentSongElapsed
+{
+ return nil;
+}
+
+- (NSImage *)currentSongAlbumArt
+{
+ return nil;
+}
+
+- (int)currentSongPlayCount
+{
+ return nil;
+}
+
- (float)currentSongRating
{
return nil;
- (float)currentSongRating
{
return nil;
@@
-144,6
+214,16
@@
return NO;
}
return NO;
}
+- (BOOL)currentSongShufflable
+{
+ return NO;
+}
+
+- (BOOL)setCurrentSongShufflable:(BOOL)shufflable
+{
+ return NO;
+}
+
- (BOOL)equalizerEnabled
{
return NO;
- (BOOL)equalizerEnabled
{
return NO;
@@
-229,6
+309,11
@@
return NO;
}
return NO;
}
+- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2
+{
+ return NO;
+}
+
- (BOOL)switchToSongAtIndex:(int)index
{
return NO;
- (BOOL)switchToSongAtIndex:(int)index
{
return NO;
@@
-239,4
+324,9
@@
return NO;
}
return NO;
}
+- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type
+{
+ return NO;
+}
+
@end
@end