summaryrefslogtreecommitdiff
path: root/src/dynamic_buffer_iterator.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynamic_buffer_iterator.hh')
-rw-r--r--src/dynamic_buffer_iterator.hh35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/dynamic_buffer_iterator.hh b/src/dynamic_buffer_iterator.hh
deleted file mode 100644
index 873792bd..00000000
--- a/src/dynamic_buffer_iterator.hh
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef dynamic_buffer_iterator_hh_INCLUDED
-#define dynamic_buffer_iterator_hh_INCLUDED
-
-#include "buffer.hh"
-
-namespace Kakoune
-{
-
-class DynamicBufferIterator : public BufferIterator,
- public ModificationListener
-{
-public:
- DynamicBufferIterator() : BufferIterator() {}
- DynamicBufferIterator(const Buffer& buffer, BufferPos position);
- DynamicBufferIterator(const BufferIterator& other);
- DynamicBufferIterator(const DynamicBufferIterator& other)
- : BufferIterator(other) { register_ifp(); }
-
- DynamicBufferIterator(DynamicBufferIterator&& other);
- DynamicBufferIterator& operator=(const BufferIterator& other);
- DynamicBufferIterator& operator=(const DynamicBufferIterator& other)
- { return this->operator= (static_cast<const BufferIterator&>(other)); }
- ~DynamicBufferIterator();
-
- void on_modification(const Modification& modification);
-
-private:
- void register_ifp();
- void unregister_ifn();
-};
-
-
-}
-
-#endif // dynamic_buffer_iterator_hh_INCLUDED