Context for the "About" label
[inkscape.git] / src / console-output-undo-observer.h
blobfc0891ea972ac39b863eaf462d7e803b53cc57c3
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Authors:
4 * David Yip <yipdw@alumni.rose-hulman.edu>
5 * Abhishek Sharma
7 * Copyright (c) 2006 Authors
9 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
12 #ifndef SEEN_INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H
13 #define SEEN_INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H
15 #include "undo-stack-observer.h"
17 namespace Inkscape {
19 /**
20 * Inkscape::ConsoleOutputUndoObserver - observer for tracing calls to
21 * SPDocumentUndo::undo, SPDocumentUndo::redo, SPDocumentUndo::maybe_done.
24 class ConsoleOutputUndoObserver : public UndoStackObserver {
25 public:
26 ConsoleOutputUndoObserver() : UndoStackObserver() { }
27 ~ConsoleOutputUndoObserver() override = default;
29 void notifyUndoEvent(Event* log) override;
30 void notifyRedoEvent(Event* log) override;
31 void notifyUndoCommitEvent(Event* log) override;
32 void notifyUndoExpired(Event *log) override;
33 void notifyClearUndoEvent() override;
34 void notifyClearRedoEvent() override;
39 #endif // SEEN_INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H
42 Local Variables:
43 mode:c++
44 c-file-style:"stroustrup"
45 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
46 indent-tabs-mode:nil
47 fill-column:99
48 End:
50 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :