summaryrefslogtreecommitdiff
path: root/src/context.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-12-15 14:25:23 +0000
committerMaxime Coste <frrrwww@gmail.com>2013-12-15 14:25:23 +0000
commit935bc3cec9707dcf95d978baa2bd323e22420b02 (patch)
tree231379350ff83ff31d783dfc786ed7c951603529 /src/context.hh
parent9b6639eb2754a72d5f6ae35055b750da10b262c1 (diff)
Add Context::selections method, and use it in priority to the Editor's one
Diffstat (limited to 'src/context.hh')
-rw-r--r--src/context.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/context.hh b/src/context.hh
index b4362eaf..cda7a812 100644
--- a/src/context.hh
+++ b/src/context.hh
@@ -49,6 +49,9 @@ public:
UserInterface& ui() const;
bool has_ui() const { return has_client(); }
+ SelectionList& selections();
+ const SelectionList& selections() const;
+
void change_editor(Editor& editor);
void set_client(Client& client);