qofbook-p.h

Go to the documentation of this file.
00001 /********************************************************************\
00002  * qof-book-p.h -- private functions for QOF books.                 *
00003  *                                                                  *
00004  * This program is free software; you can redistribute it and/or    *
00005  * modify it under the terms of the GNU General Public License as   *
00006  * published by the Free Software Foundation; either version 2 of   *
00007  * the License, or (at your option) any later version.              *
00008  *                                                                  *
00009  * This program is distributed in the hope that it will be useful,  *
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of   *
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
00012  * GNU General Public License for more details.                     *
00013  *                                                                  *
00014  * You should have received a copy of the GNU General Public License*
00015  * along with this program; if not, contact:                        *
00016  *                                                                  *
00017  * Free Software Foundation           Voice:  +1-617-542-5942       *
00018  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
00019  * Boston, MA  02110-1301,  USA       gnu@gnu.org                   *
00020  *                                                                  *
00021 \********************************************************************/
00036 #ifndef QOF_BOOK_P_H
00037 #define QOF_BOOK_P_H
00038 
00039 #include "kvpframe.h"
00040 #include "qofbackend.h"
00041 #include "qofbook.h"
00042 #include "qofid.h"
00043 #include "qofid-p.h"
00044 #include "qofinstance-p.h"
00045 #include "qofundo-p.h"
00046 
00048 struct _QofBook
00049 {
00051     QofInstance inst;
00052 
00057     GHashTable *hash_of_collections;
00058 
00061     GHashTable *data_tables;
00062 
00064     GHashTable *data_table_finalizers;
00065 
00070     gchar book_open;
00071 
00077     gboolean shutting_down;
00078 
00080     gint32 version;
00081 
00087     QofBackend *backend;
00088 
00090     QofUndo *undo_data;
00091 
00094     guint32 idata;
00095 };
00096 
00105 void qof_book_set_backend (QofBook * book, QofBackend * be);
00106 
00108 gboolean qof_book_register (void);
00109 
00113 #endif /* QOF_BOOK_P_H */

Generated on Thu Jan 31 22:50:25 2008 for QOF by  doxygen 1.5.4