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 void
38 ConsoleOutputUndoObserver::notifyClearUndoEvent()
39 {
40 //g_message("notifyClearUndoEvent (sp_document_clear_undo) called);
41 }
43 void
44 ConsoleOutputUndoObserver::notifyClearRedoEvent()
45 {
46 //g_message("notifyClearRedoEvent (sp_document_clear_redo) called);
47 }
49 }
51 /*
52 Local Variables:
53 mode:c++
54 c-file-style:"stroustrup"
55 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
56 indent-tabs-mode:nil
57 fill-column:99
58 End:
59 */
60 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :