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 #include <glibmm.h>
16 #include "console-output-undo-observer.h"
18 namespace Inkscape {
20 void
21 ConsoleOutputUndoObserver::notifyUndoEvent(Event* /*log*/)
22 {
23 // g_message("notifyUndoEvent(SPDocumentUndo::undo) called; log=%p\n", log->event);
24 }
26 void
27 ConsoleOutputUndoObserver::notifyRedoEvent(Event* /*log*/)
28 {
29 // g_message("notifyRedoEvent(SPDocumentUndo::redo) called; log=%p\n", log->event);
30 }
32 void
33 ConsoleOutputUndoObserver::notifyUndoCommitEvent(Event* /*log*/)
34 {
35 //g_message("notifyUndoCommitEvent(SPDocumentUndo::maybe_done) called; log=%p\n", log->event);
36 }
38 void
39 ConsoleOutputUndoObserver::notifyClearUndoEvent()
40 {
41 //g_message("notifyClearUndoEvent(sp_document_clear_undo) called);
42 }
44 void
45 ConsoleOutputUndoObserver::notifyClearRedoEvent()
46 {
47 //g_message("notifyClearRedoEvent(sp_document_clear_redo) called);
48 }
50 }
52 /*
53 Local Variables:
54 mode:c++
55 c-file-style:"stroustrup"
56 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
57 indent-tabs-mode:nil
58 fill-column:99
59 End:
60 */
61 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :