diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-07-10 16:01:33 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2016-07-10 16:34:16 +0100 |
| commit | 530ecf212eedce7ae62c185873ae42033eeee925 (patch) | |
| tree | b968beadab5905f1e43ad450ce94e3d6ddd48ed3 /src/buffer.hh | |
| parent | 6bcfc7268f9a0b642cdda802b072034f587c5370 (diff) | |
Ensure buffer create/close hooks are run at appropriate times
They used to be ran before the buffer was added to the buffer list
we now run them afterwards.
Diffstat (limited to 'src/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer.hh b/src/buffer.hh index 2b118c89..21f960f2 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -200,6 +200,10 @@ public: ConstArrayView<Change> changes_since(size_t timestamp) const; String debug_description() const; + + // Methods called by the buffer manager + void on_registered(); + void on_unregistered(); private: void on_option_changed(const Option& option) override; |
