Latest CVS Changes to LibOFX

Martin Preuss <[email protected]> Sat, 27 Oct 2007 13:40:53 +0200
Newsgroups gmane.comp.finance.libofx.devel,gmane.comp.gnome.apps.gnucash.devel
Message-ID <[email protected]>
Hi,

I have just checked in some changes to the CVS repository of LibOFX:

* libofx.h, ofx_utilities.cpp: replaced some char* with "const char*" to make 
GCC happy, wrapped arithmetic calculations in macro definitions in brackets
to avoid problems
* libofx.h: Removed this file, replaced it with libofx.h.in. This is used to 
create libofx.h which now includes some subst variables conveying the version 
of LibOFX to source files. Introduced LIBOFX_BUILD_VERSION and 
LIBOFX_VERSION_RELEASE_STRING to distinguish even CVS versions.           
Added function libofx_set_dtd_dir() which allows to set the folder in which 
DTD files are stored. This is needed for local installations (e.g. WIN32)
* libofx.pc.in: depending libraries don't need to link against OpenSP 
themselves, since LibOFX encapsulates it, no need to propagate unnecessary 
dependencies

With these changes I was able to compile LibOFX for WIN32, so future versions 
of GnuCash may be shipped with a WIN32 which actually supports OFX Direct 
Connect on that platform, too :-)

However, you will need for GnuCash to adjust to AqBanking3 in order to benefit 
from the changes.


Regards
Martin


-- 
"Things are only impossible until they're not"

Martin Preuss - http://www.aquamaniac.de/
AqBanking - http://www.aqbanking.de/
LibChipcard - http://www.libchipcard.de/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/