QOF
0.7.5
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
qofundo.h
Go to the documentation of this file.
1
/***************************************************************************
2
* qofundo.h
3
*
4
* Thu Aug 25 09:19:25 2005
5
* Copyright 2005,2006 Neil Williams
6
* linux@codehelp.co.uk
7
****************************************************************************/
8
/*
9
* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2 of the License, or
12
* (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License
20
* along with this program; if not, write to the Free Software
21
* Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA
22
*/
23
83
#ifndef _QOFUNDO_H
84
#define _QOFUNDO_H
85
86
#define QOF_MOD_UNDO "qof-undo"
87
104
void
105
qof_undo_set_param
(
QofEntity
* ent,
const
QofParam
* param,
106
gchar * value);
107
115
void
116
qof_undo_modify
(
QofInstance
* inst,
const
QofParam
* param);
117
125
void
126
qof_undo_commit
(
QofInstance
* inst,
const
QofParam
* param);
127
136
void
qof_undo_create
(
QofInstance
* inst);
137
148
void
qof_undo_delete
(
QofInstance
* inst);
149
156
void
qof_book_clear_undo
(
QofBook
* book);
157
159
void
qof_book_undo
(
QofBook
* book);
160
162
void
qof_book_redo
(
QofBook
* book);
163
169
gboolean
qof_book_can_undo
(
QofBook
* book);
170
176
gboolean
qof_book_can_redo
(
QofBook
* book);
177
181
void
qof_book_start_operation
(
QofBook
* book, gchar * label);
182
184
void
qof_book_end_operation
(
QofBook
* book);
185
187
QofTime
*
188
qof_book_undo_first_modified
(
QofBook
* book);
189
191
gint
qof_book_undo_count
(
QofBook
* book);
192
193
#endif
/* _QOFUNDO_H */
194
qof
qofundo.h
Generated by
1.8.3.1