summaryrefslogtreecommitdiff
path: root/src/browser.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2011-11-12 19:47:47 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2011-11-12 19:47:47 +0100
commit56467eaac658b34a66aef583fc489331dfd5a7c8 (patch)
tree7779e2687678f9ec393d3559fdd2b0df6ddb37dd /src/browser.h
parente31dec7005a2345432c4d318fc936caf675ef2c0 (diff)
new feature: support for merging screens together
Diffstat (limited to 'src/browser.h')
-rw-r--r--src/browser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/browser.h b/src/browser.h
index 343c611f..8e135536 100644
--- a/src/browser.h
+++ b/src/browser.h
@@ -50,6 +50,8 @@ class Browser : public Screen< Menu<MPD::Item> >
virtual List *GetList() { return w; }
+ virtual bool isMergable() { return true; }
+
const std::string &CurrentDir() { return itsBrowsedDir; }
bool isLocal() { return itsBrowseLocally; }
@@ -65,6 +67,7 @@ class Browser : public Screen< Menu<MPD::Item> >
protected:
virtual void Init();
+ virtual bool isLockable() { return true; }
private:
static bool hasSupportedExtension(const std::string &);