summaryrefslogtreecommitdiffstats
path: root/src/library/libraryview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/libraryview.h')
-rw-r--r--src/library/libraryview.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/library/libraryview.h b/src/library/libraryview.h
index 378691c55a..21b20228fe 100644
--- a/src/library/libraryview.h
+++ b/src/library/libraryview.h
@@ -9,6 +9,8 @@
#include <QString>
+#include "library/trackmodel.h"
+
class LibraryView {
public:
virtual ~LibraryView() {};
@@ -37,6 +39,9 @@ class LibraryView {
/// 1, the view should move to the next selection in the list.
virtual void moveSelection(int delta) {Q_UNUSED(delta);}
+ virtual TrackModel::SortColumnId getColumnIdFromCurrentIndex() {
+ return TrackModel::SortColumnId::Invalid;
+ };
/// If applicable, requests that the LibraryView changes the track color of
/// the selected track. Does nothing otherwise.
virtual void assignPreviousTrackColor(){};