]> git.lyx.org Git - lyx.git/blob - src/undo.C
namespace grfx -> lyx::graphics
[lyx.git] / src / undo.C
1 /* This file is part of
2  * ======================================================
3  *
4  *           LyX, The Document Processor
5  *
6  *           Copyright 1995 Matthias Ettrich
7  *           Copyright 1995-2001 The LyX Team.
8  *
9  * ====================================================== */
10
11 #include <config.h>
12
13 #include "undo.h"
14
15 Undo::Undo(undo_kind kind_arg, int inset, int plist,
16            int first, int last,
17            int cursor, int cursor_pos_arg,
18            ParagraphList const & par)
19         :
20                 kind(kind_arg),
21                 inset_id(inset),
22                 plist_id(plist),
23                 first_par_offset(first),
24                 last_par_offset(last),
25                 cursor_par_offset(cursor),
26                 cursor_pos(cursor_pos_arg),
27                 pars(par)
28 {}
29