repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / haikudepot / textview / UndoableEditListener.h
blob45369c8a35f32f11d639bc81aace973a16cc1ee7
1 /*
2 * Copyright 2015, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5 #ifndef UNDOABLE_EDIT_LISTENER_H
6 #define UNDOABLE_EDIT_LISTENER_H
9 #include <Referenceable.h>
11 class TextDocument;
12 class UndoableEditRef;
15 class UndoableEditListener : public BReferenceable {
16 public:
17 UndoableEditListener();
18 virtual ~UndoableEditListener();
20 virtual void UndoableEditHappened(
21 const TextDocument* document,
22 const UndoableEditRef& edit);
26 typedef BReference<UndoableEditListener> UndoableEditListenerRef;
29 #endif // UNDOABLE_EDIT_LISTENER_H