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 #include <glibmm.h>
15 #include "console-output-undo-observer.h"
17 namespace Inkscape {
19 void
20 ConsoleOutputUndoObserver::notifyUndoEvent(Event* log)
21 {
22 // g_message("notifyUndoEvent (sp_document_undo) called; log=%p\n", log->event);
23 }
25 void
26 ConsoleOutputUndoObserver::notifyRedoEvent(Event* log)
27 {
28 // g_message("notifyRedoEvent (sp_document_redo) called; log=%p\n", log->event);
29 }
31 void
32 ConsoleOutputUndoObserver::notifyUndoCommitEvent(Event* log)
33 {
34 //g_message("notifyUndoCommitEvent (sp_document_maybe_done) called; log=%p\n", log->event);
35 }
37 }
39 /*
40 Local Variables:
41 mode:c++
42 c-file-style:"stroustrup"
43 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
44 indent-tabs-mode:nil
45 fill-column:99
46 End:
47 */
48 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :