QOF: qofundo.h Source File

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_undo_delete
void qof_undo_delete(QofInstance *inst)
Definition: qofundo.c:523
QofInstance_s
Definition: qofinstance-p.h:35
qof_book_can_redo
gboolean qof_book_can_redo(QofBook *book)
event handler for redo widget
Definition: qofundo.c:442
_QofParam
Definition: qofclass.h:195
qof_book_start_operation
void qof_book_start_operation(QofBook *book, gchar *label)
Start recording operation.
Definition: qofundo.c:587
qof_book_can_undo
gboolean qof_book_can_undo(QofBook *book)
event handler for undo widget
Definition: qofundo.c:429
QofEntity_s
Definition: qofid.h:147
qof_book_end_operation
void qof_book_end_operation(QofBook *book)
End recording the current operation.
Definition: qofundo.c:604
qof_book_clear_undo
void qof_book_clear_undo(QofBook *book)
Free the entire undo list for this book.
Definition: qofundo.c:409
qof_book_undo_first_modified
QofTime * qof_book_undo_first_modified(QofBook *book)
HIG compliance aid to report time of first change.
Definition: qofundo.c:617
qof_book_undo
void qof_book_undo(QofBook *book)
Set parameter values from before the previous event.
Definition: qofundo.c:304
QofTime
struct QofTime64 QofTime
Use a 64-bit signed int QofTime.
Definition: qoftime.h:120
qof_book_undo_count
gint qof_book_undo_count(QofBook *book)
Number of undo operations available.
Definition: qofundo.c:629
qof_undo_create
void qof_undo_create(QofInstance *inst)
Definition: qofundo.c:486
_QofBook
Definition: qofbook-p.h:48
qof_undo_commit
void qof_undo_commit(QofInstance *inst, const QofParam *param)
Definition: qofundo.c:571
qof_book_redo
void qof_book_redo(QofBook *book)
Set parameter values from after the previous event.
Definition: qofundo.c:356
qof_undo_modify
void qof_undo_modify(QofInstance *inst, const QofParam *param)
Definition: qofundo.c:547
qof_undo_set_param
void qof_undo_set_param(QofEntity *ent, const QofParam *param, gchar *value)
Set a value in this parameter of the entity.
Definition: qofundo.c:207