qof.h

Neil Williams linux at codehelp.co.uk
Tue Sep 27 10:09:20 EDT 2005


In an effort to clean-up the QOF naming conventions and various other 
management tasks during the life of libqof1 (>= 0.6.0), I've fixed the qof.h 
header and this will now form *the* API interface for all QOF functions 
outside the library.

My next gnucash commit will begin this process.

It should be possible to then swap all #include "qof...h" (and any includes 
for the other QOF files, including those currently using a gnc_ prefix) for a 
single
#include <qof.h>
This also means that files with a common purpose only need to include qof.h 
once in a shared header to access all QOF API functions.

Specific header files should no longer be included as the filenames (typically 
those beginning gnc) may be changed during the life of libqof1.

i.e. The API is now <qof.h> and using other includes is outside the API.

libqof1 will retain the same API throughout it's life. Changes within files 
will be made by deprecating the old form but maintaining support via a 
#define in QOF until libqof2 when *all* deprecated code is due to be removed.

A full list of deprecated functions will be kept up to date at the QOF 
website:
http://qof.sourceforge.net/doxy/deprecated.html

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20050927/fd093bfd/attachment.bin


More information about the gnucash-devel mailing list