change namespace Playlist into class

This commit is contained in:
Andrzej Rybczak
2009-02-13 22:27:26 +01:00
parent 08e162f6ac
commit 6e167d67e2
16 changed files with 246 additions and 205 deletions

View File

@@ -26,6 +26,7 @@
#include "display.h"
#include "global.h"
#include "playlist.h"
#include "settings.h"
#include "status_checker.h"
@@ -76,7 +77,7 @@ void Clock::Resize()
wClock->MoveTo((COLS-width)/2, (LINES-height)/2);
if (current_screen == csClock)
{
mPlaylist->Hide();
myPlaylist->Main()->Hide();
Prepare();
wClock->Display();
}
@@ -165,7 +166,7 @@ void Clock::SwitchTo()
{
CLEAR_FIND_HISTORY;
wCurrent = wClock;
mPlaylist->Hide();
myPlaylist->Main()->Hide();
current_screen = csClock;
redraw_header = 1;
Clock::Prepare();