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

@@ -21,12 +21,24 @@
#ifndef _PLAYLIST_H
#define _PLAYLIST_H
namespace Playlist
#include "ncmpcpp.h"
#include "screen.h"
#include "song.h"
class Playlist : public Screen< Menu<MPD::Song> >
{
void Init();
void Resize();
void SwitchTo();
}
public:
virtual void Init();
virtual void SwitchTo();
virtual void Resize();
virtual const char *Title();
virtual void EnterPressed();
virtual void SpacePressed();
};
extern Playlist *myPlaylist;
#endif