@implementation ITMTRemote
-+ (void)initialize
-{
-[self setVersion:2];
-}
-
+ (id)remote
{
return nil;
return NO;
}
-- (BOOL)showExternalWindow
-{
- return NO;
-}
-
-- (NSString*)externalWindowName
-{
- return nil;
-}
-
-- (BOOL)setShuffle:(BOOL)toggle
-{
- return NO;
-}
-
-- (BOOL)supportsVolume
-{
- return NO;
-}
-
-- (BOOL)supportsShuffle
-{
- return NO;
-}
-
-- (BOOL)shuffle
+- (ITMTRemotePlayerRunningState)playerRunningState
{
- return NO;
+ return ITMTRemotePlayerNotRunning;
}
-- (BOOL)setTrackProperty:(ITMTRemoteTrackProperty)property toValue:(id)value atIndex:(int)index
+- (ITMTRemotePlayerPlayingState)playerPlayingState
{
- return NO;
+ return ITMTRemotePlayerStopped;
}
-- (id)trackProperty:(ITMTRemoteTrackProperty)property atIndex:(int)index
+- (NSArray *)playlists
{
return nil;
}
-- (BOOL)supportsTrackProperty:(ITMTRemoteTrackProperty)property
-{
- return NO;
-}
-
-- (BOOL)supportsRepeatMode:(ITMTRemoteRepeatMode)repeatMode
-{
- return NO;
-}
-
-- (BOOL)sendControlAction:(ITMTRemoteControlAction)action
-{
- return NO;
-}
-
-- (BOOL)supportsControlAction:(ITMTRemoteControlAction)action
-{
- return NO;
-}
-
-- (int)indexForTrack:(int)identifier inPlaylist:(int)playlistIndex
-{
- return 0;
-}
-
-- (NSImage*)icon
+- (NSArray *)artists
{
return nil;
}
-- (NSArray*)playlistNames
+- (NSArray *)albums
{
return nil;
}
-- (NSString*)informationString:(ITMTRemoteInformationString)string;
+- (int)numberOfSources
{
- return nil;
+ return -1;
}
-- (BOOL)switchToPlaylist:(int)playlistIndex
+- (int)numberOfSongsInPlaylistAtIndex:(int)index
{
- return 0;
+ return -1;
}
-- (BOOL)switchToTrackAtIndex:(int)index
+- (ITMTRemotePlayerSource)currentSource
{
- return 0;
+ return ITMTRemoteLibrarySource;
}
-- (int)identifierForTrackAtIndex:(int)index inPlaylist:(int)playlistIndex
+- (int)currentSourceIndex
{
- return 0;
+ return -1;
}
-- (BOOL)supportsCustomEqualizer
+- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
{
- return NO;
+ return ITMTRemotePlayerLibraryPlaylist;
}
-- (BOOL)showEqualizerWindow
+- (int)currentPlaylistIndex
{
- return NO;
+ return -1;
}
-- (BOOL)supportsEqualizerPresets
+- (NSString *)songTitleAtIndex:(int)index
{
- return NO;
+ return nil;
}
-- (BOOL)supportsExternalWindow
+- (BOOL)songEnabledAtIndex:(int)index
{
- return NO;
+ return NO;
}
-- (NSArray*)equalizerPresetNames
+- (int)currentAlbumTrackCount
{
- return nil;
+ return -1;
}
-- (BOOL)switchToEqualizerPreset:(int)index
+- (int)currentSongTrack
{
- return NO;
+ return -1;
}
-- (ITMTRemoteControlState)controlState
+- (NSString *)playerStateUniqueIdentifier
{
return nil;
}
-- (ITMTRemotePlaylistMode)playlistMode
+- (int)currentSongIndex
{
- return nil;
+ return -1;
}
-- (NSArray *)playlists
+- (NSString *)currentSongTitle
{
return nil;
}
-- (int)numberOfSongsInPlaylistAtIndex:(int)index
+- (NSString *)currentSongArtist
{
return nil;
}
-- (int)currentPlaylistIndex
+- (NSString *)currentSongComposer
{
return nil;
}
-- (NSString *)songTitleAtIndex:(int)index
+- (NSString *)currentSongAlbum
{
return nil;
}
-- (int)currentAlbumTrackCount
+- (NSString *)currentSongGenre
{
return nil;
}
-- (int)currentSongTrack
+- (NSString *)currentSongLength
{
return nil;
}
-- (NSString *)currentSongUniqueIdentifier
+- (int)currentSongPlayed
{
- return nil;
+ return -1;
}
-- (int)currentSongIndex
+- (int)currentSongDuration
{
- return nil;
+ return -1;
}
-- (NSString *)currentSongTitle
+- (NSString *)currentSongRemaining
{
return nil;
}
-- (NSString *)currentSongArtist
+- (NSString *)currentSongElapsed
{
return nil;
}
-- (NSString *)currentSongAlbum
+- (NSImage *)currentSongAlbumArt
{
return nil;
}
-- (NSString *)currentSongGenre
+- (int)currentSongPlayCount
{
- return nil;
+ return 0;
}
-- (NSString *)currentSongLength
+- (float)currentSongRating
{
- return nil;
+ return 0;
}
-- (NSString *)currentSongRemaining
+- (BOOL)setCurrentSongRating:(float)rating
{
- return nil;
+ return NO;
}
-- (float)currentSongRating
+- (BOOL)currentSongShufflable
{
- return nil;
+ return NO;
}
-- (BOOL)setCurrentSongRating:(float)rating
+- (BOOL)setCurrentSongShufflable:(BOOL)shufflable
{
- return NO;
+ return NO;
}
-/* - (BOOL)equalizerEnabled
+- (BOOL)equalizerEnabled
{
return NO;
}
- (BOOL)setEqualizerEnabled:(BOOL)enabled
{
return NO;
-} */
+}
- (NSArray *)eqPresets
{
- (int)currentEQPresetIndex
{
- return nil;
+ return 0;
}
- (float)volume
{
- return nil;
+ return 0;
}
- (BOOL)setVolume:(float)volume
return NO;
}
-- (ITMTRemoteRepeatMode)repeatMode
+- (ITMTRemotePlayerRepeatMode)repeatMode
{
- return ITMTRemoteRepeatNone;
+ return ITMTRemotePlayerRepeatOff;
}
-- (BOOL)setRepeatMode:(ITMTRemoteRepeatMode)repeatMode
+- (BOOL)setRepeatMode:(ITMTRemotePlayerRepeatMode)repeatMode
{
return NO;
}
return NO;
}
+- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2
+{
+ return NO;
+}
+
- (BOOL)switchToSongAtIndex:(int)index
{
return NO;
return NO;
}
+- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type
+{
+ return NO;
+}
+
@end