3 @implementation ITMTRemote
15 - (NSString *)remoteTitle
20 - (NSString *)remoteInformation
25 - (NSImage *)remoteIcon
40 - (NSString *)playerFullName
45 - (NSString *)playerSimpleName
50 - (NSDictionary *)capabilities
52 return [NSDictionary dictionaryWithObjectsAndKeys:
53 [NSNumber numberWithBool: NO], @"Remote", // Set this to YES for a valid remote, otherwise the remote will be unusable.
54 [NSNumber numberWithBool: NO], @"Basic Track Control",
55 [NSNumber numberWithBool: NO], @"Track Information",
56 [NSNumber numberWithBool: NO], @"Track Navigation",
57 [NSNumber numberWithBool: NO], @"Upcoming Songs",
58 [NSNumber numberWithBool: NO], @"Playlists",
59 [NSNumber numberWithBool: NO], @"Volume",
60 [NSNumber numberWithBool: NO], @"Shuffle",
61 [NSNumber numberWithBool: NO], @"Repeat Modes",
62 [NSNumber numberWithBool: NO], @"Equalizer",
63 [NSNumber numberWithBool: NO], @"Track Rating",
67 - (BOOL)showPrimaryInterface
72 - (BOOL)showExternalWindow
77 - (NSString*)externalWindowName
82 - (BOOL)setShuffle:(BOOL)toggle
87 - (BOOL)supportsVolume
92 - (BOOL)supportsShuffle
102 - (BOOL)setTrackProperty:(ITMTRemoteTrackProperty)property toValue:(id)value atIndex:(int)index
107 - (id)trackProperty:(ITMTRemoteTrackProperty)property atIndex:(int)index
112 - (BOOL)supportsTrackProperty:(ITMTRemoteTrackProperty)property
117 - (BOOL)supportsRepeatMode:(ITMTRemoteRepeatMode)repeatMode
122 - (BOOL)sendControlAction:(ITMTRemoteControlAction)action
127 - (BOOL)supportsControlAction:(ITMTRemoteControlAction)action
132 - (int)indexForTrack:(int)identifier inPlaylist:(int)playlistIndex
142 - (NSArray*)playlistNames
147 - (NSString*)informationString:(ITMTRemoteInformationString)string;
152 - (BOOL)switchToPlaylist:(int)playlistIndex
157 - (BOOL)switchToTrackAtIndex:(int)index
162 - (int)identifierForTrackAtIndex:(int)index inPlaylist:(int)playlistIndex
167 - (BOOL)supportsCustomEqualizer
172 - (BOOL)showEqualizerWindow
177 - (BOOL)supportsEqualizerPresets
182 - (BOOL)supportsExternalWindow
187 - (NSArray*)equalizerPresetNames
192 - (BOOL)switchToEqualizerPreset:(int)index
197 - (ITMTRemoteControlState)controlState
202 - (ITMTRemotePlaylistMode)playlistMode
207 - (NSArray *)playlists
212 - (int)numberOfSongsInPlaylistAtIndex:(int)index
217 - (int)currentPlaylistIndex
222 - (NSString *)songTitleAtIndex:(int)index
227 - (int)currentAlbumTrackCount
232 - (int)currentSongTrack
237 - (NSString *)currentSongUniqueIdentifier
242 - (int)currentSongIndex
247 - (NSString *)currentSongTitle
252 - (NSString *)currentSongArtist
257 - (NSString *)currentSongAlbum
262 - (NSString *)currentSongGenre
267 - (NSString *)currentSongLength
272 - (NSString *)currentSongRemaining
277 - (float)currentSongRating
282 - (BOOL)setCurrentSongRating:(float)rating
287 /* - (BOOL)equalizerEnabled
292 - (BOOL)setEqualizerEnabled:(BOOL)enabled
297 - (NSArray *)eqPresets
302 - (int)currentEQPresetIndex
312 - (BOOL)setVolume:(float)volume
317 - (BOOL)shuffleEnabled
322 - (BOOL)setShuffleEnabled:(BOOL)enabled
327 - (ITMTRemoteRepeatMode)repeatMode
329 return ITMTRemoteRepeatNone;
332 - (BOOL)setRepeatMode:(ITMTRemoteRepeatMode)repeatMode
352 - (BOOL)goToPreviousSong
367 - (BOOL)switchToPlaylistAtIndex:(int)index
372 - (BOOL)switchToSongAtIndex:(int)index
377 - (BOOL)switchToEQAtIndex:(int)index