Code

A simple layout document as to what, why and how is cppification.
[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  *
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     virtual ~ConsoleOutputUndoObserver() { }
25     void notifyUndoEvent(Event* log);
26     void notifyRedoEvent(Event* log);
27     void notifyUndoCommitEvent(Event* log);
28     void notifyClearUndoEvent();
29     void notifyClearRedoEvent();
31 };
32 }
34 #endif
36 /*
37   Local Variables:
38   mode:c++
39   c-file-style:"stroustrup"
40   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
41   indent-tabs-mode:nil
42   fill-column:99
43   End:
44 */
45 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :