summaryrefslogtreecommitdiff
path: root/src/playlist.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-09-13 21:57:17 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-09-13 21:57:17 +0200
commit9ddfca8f3112767da0dbbd113a414d44c169b6fd (patch)
tree29db93b409de925f957d44667e6161ba49cac677 /src/playlist.h
parentfcc097fc7694892a789a3622f502d4d1d9c71ef8 (diff)
playlist: move sorting dialog related functions to separate file
Diffstat (limited to 'src/playlist.h')
-rw-r--r--src/playlist.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 94f7ad7e..f024e72e 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -27,13 +27,13 @@
#include "screen.h"
#include "song.h"
-class Playlist : public Screen<NC::Window>, public Filterable, public HasSongs, public Searchable
+class Playlist : public Screen<NC::Menu<MPD::Song>>, public Filterable, public HasSongs, public Searchable
{
public:
Playlist() : itsTotalLength(0), itsRemainingTime(0), itsScrollBegin(0) { }
~Playlist() { }
- // Screen<NC::Window> implementation
+ // Screen<NC::Menu<MPD::Song>> implementation
virtual void switchTo() OVERRIDE;
virtual void resize() OVERRIDE;
@@ -70,10 +70,7 @@ class Playlist : public Screen<NC::Window>, public Filterable, public HasSongs,
MPD::Song nowPlayingSong();
bool isFiltered();
-
- void Sort();
void Reverse();
- bool SortingInProgress();
void EnableHighlighting();
void UpdateTimer();
@@ -87,14 +84,9 @@ class Playlist : public Screen<NC::Window>, public Filterable, public HasSongs,
bool checkForSong(const MPD::Song &s);
- void moveSortOrderUp();
- void moveSortOrderDown();
-
void registerHash(size_t hash);
void unregisterHash(size_t hash);
- NC::Menu<MPD::Song> *Items;
-
static bool ReloadTotalLength;
static bool ReloadRemaining;