1 /**
2 * Inkscape::ConsoleOutputUndoObserver - observer for tracing calls to
3 * sp_document_undo, sp_document_redo, sp_document_maybe_done
4 *
5 * Authors:
6 * David Yip <yipdw@alumni.rose-hulman.edu>
7 *
8 * Copyright (c) 2006 Authors
9 *
10 * Released under GNU GPL, see the file 'COPYING' for more information
11 */
13 #ifndef __INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H__
14 #define __INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H__
16 #include "undo-stack-observer.h"
18 namespace Inkscape {
20 class ConsoleOutputUndoObserver : public UndoStackObserver {
21 public:
22 ConsoleOutputUndoObserver() : UndoStackObserver() { }
23 ~ConsoleOutputUndoObserver() { }
25 void notifyUndoEvent(Event* log);
26 void notifyRedoEvent(Event* log);
27 void notifyUndoCommitEvent(Event* log);
29 };
30 }
32 #endif
34 /*
35 Local Variables:
36 mode:c++
37 c-file-style:"stroustrup"
38 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
39 indent-tabs-mode:nil
40 fill-column:99
41 End:
42 */
43 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :