From faf0df17f299707efe6c79a95ef64172be07a916 Mon Sep 17 00:00:00 2001 From: vspader Date: Sun, 22 Feb 2009 14:29:11 -0800 Subject: [PATCH] Removed unused methods from playbackcontroller. --- Application/PlaybackController.m | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/Application/PlaybackController.m b/Application/PlaybackController.m index da5af417c..4bee87dbc 100644 --- a/Application/PlaybackController.m +++ b/Application/PlaybackController.m @@ -465,32 +465,6 @@ } -/* -- (void)updateTimeField:(double)pos -{ - NSString *text; - if (showTimeRemaining == NO) - { - int sec = (int)(pos); - text = [NSString stringWithFormat:NSLocalizedString(@"TimeElapsed", @""), sec/60, sec%60]; - } - else - { - int sec = (int)(([[[playlistController currentEntry] length] doubleValue] - pos)); - if (sec < 0) - sec = 0; - text = [NSString stringWithFormat:NSLocalizedString(@"TimeRemaining", @""), sec/60, sec%60]; - } - [timeField setStringValue:text]; -} -*/ -- (IBAction)toggleShowTimeRemaining:(id)sender -{ - showTimeRemaining = !showTimeRemaining; - - // [self updateTimeField:position]; -} - - (void)audioPlayer:(AudioPlayer *)player requestNextStream:(id)userInfo { PlaylistEntry *curEntry = (PlaylistEntry *)userInfo;