[Gnucash-changes] Expose the qof_book_mark_saved() function.

David Hampton hampton at cvs.gnucash.org
Tue Jul 19 16:02:17 EDT 2005


Log Message:
-----------
Expose the qof_book_mark_saved() function.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash/src/engine:
        qofbook-p.h
        qofbook.h

Revision Data
-------------
Index: qofbook.h
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/qofbook.h,v
retrieving revision 1.5.2.6
retrieving revision 1.5.2.7
diff -Lsrc/engine/qofbook.h -Lsrc/engine/qofbook.h -u -r1.5.2.6 -r1.5.2.7
--- src/engine/qofbook.h
+++ src/engine/qofbook.h
@@ -148,6 +148,13 @@
  */
 gboolean qof_book_not_saved (QofBook *book);
 
+/** The qof_book_mark_saved() routine marks the book as having been
+ *    saved (to a file, to a database). Used by backends to mark the
+ *    notsaved flag as FALSE just after loading.  Also used by the
+ *    main window code when the used has said to abandon any changes.
+ */
+void qof_book_mark_saved(QofBook *book);
+
 /** Call this function when you change the book kvp, to make sure the book
  * is marked 'dirty'. */
 void qof_book_kvp_changed (QofBook *book);
Index: qofbook-p.h
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/qofbook-p.h,v
retrieving revision 1.4.2.2
retrieving revision 1.4.2.3
diff -Lsrc/engine/qofbook-p.h -Lsrc/engine/qofbook-p.h -u -r1.4.2.2 -r1.4.2.3
--- src/engine/qofbook-p.h
+++ src/engine/qofbook-p.h
@@ -101,12 +101,6 @@
 
 void qof_book_set_backend (QofBook *book, QofBackend *be);
 
-/** The qof_book_mark_saved() routine marks the book as having been
- *    saved (to a file, to a database). Used by backends to mark the 
- *    notsaved flag as FALSE just after loading.  Do not use otherwise!
- */
-void qof_book_mark_saved(QofBook *book);
-
 /** Register books with the engine */
 gboolean qof_book_register (void);
 


More information about the gnucash-changes mailing list