diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-01-31 14:03:10 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-01-31 14:03:10 +0000 |
| commit | 3ef9895a97dab74628577d867a651ede4386af7e (patch) | |
| tree | 4e8674492f8f2e85cc8d2cc87288714f1b623538 /src/buffer.hh | |
| parent | 830d96f7a161e536469c4158bddcb771c13af607 (diff) | |
Buffer: support creation of temporary windows to apply commands when no windows are in context
Diffstat (limited to 'src/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.hh b/src/buffer.hh index 7b010c9b..d9649cbb 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -151,6 +151,8 @@ public: Window* get_or_create_window(); void delete_window(Window* window); + std::unique_ptr<Window> create_temporary_window(); + bool is_modified() const; Type type() const { return m_type; } void notify_saved(); |
