~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to src/console-output-undo-observer.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 */
 
12
 
 
13
#ifndef __INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H__
 
14
#define __INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H__
 
15
 
 
16
#include "undo-stack-observer.h"
 
17
 
 
18
namespace Inkscape {
 
19
 
 
20
class ConsoleOutputUndoObserver : public UndoStackObserver {
 
21
public:
 
22
    ConsoleOutputUndoObserver() : UndoStackObserver() { }
 
23
    virtual ~ConsoleOutputUndoObserver() { }
 
24
 
 
25
    void notifyUndoEvent(Event* log);
 
26
    void notifyRedoEvent(Event* log);
 
27
    void notifyUndoCommitEvent(Event* log);
 
28
    void notifyClearUndoEvent();
 
29
    void notifyClearRedoEvent();
 
30
 
 
31
};
 
32
}
 
33
 
 
34
#endif
 
35
 
 
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 :