2 * Copyright 2015, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
5 #ifndef UNDOABLE_EDIT_LISTENER_H
6 #define UNDOABLE_EDIT_LISTENER_H
9 #include <Referenceable.h>
12 class UndoableEditRef
;
15 class UndoableEditListener
: public BReferenceable
{
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