Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / src / console-output-undo-observer.h
1 /**
2  * Inkscape::ConsoleOutputUndoObserver - observer for tracing calls to
3  * SPDocumentUndo::undo, SPDocumentUndo::redo, SPDocumentUndo::maybe_done
4  *
5  * Authors:
6  * David Yip <yipdw@alumni.rose-hulman.edu>
7  *   Abhishek Sharma
8  *
9  * Copyright (c) 2006 Authors
10  *
11  * Released under GNU GPL, see the file 'COPYING' for more information
12  */
14 #ifndef SEEN_INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H
15 #define SEEN_INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H
17 #include "undo-stack-observer.h"
19 namespace Inkscape {
21 class ConsoleOutputUndoObserver : public UndoStackObserver {
22 public:
23     ConsoleOutputUndoObserver() : UndoStackObserver() { }
24     virtual ~ConsoleOutputUndoObserver() { }
26     void notifyUndoEvent(Event* log);
27     void notifyRedoEvent(Event* log);
28     void notifyUndoCommitEvent(Event* log);
29     void notifyClearUndoEvent();
30     void notifyClearRedoEvent();
32 };
33 }
35 #endif // SEEN_INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H
37 /*
38   Local Variables:
39   mode:c++
40   c-file-style:"stroustrup"
41   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
42   indent-tabs-mode:nil
43   fill-column:99
44   End:
45 */
46 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :