Status of callback interface enhancements
Kevin Tambascio <[email protected]>
| Newsgroups | gmane.comp.finance.libofx.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am a developer with KMyMoney, and we are looking at using libofx as part of our software, so that we can import ofx files. I started to write our implementation, but ran into a few issues. First off, there is no way to register callbacks, in our case, static C++ member functions. I don't see how they would be called with the current library. The second issue, was that when the callbacks would be called, I do not have access to my class's instance. I know with expat, the callback functions send you a void* that you can set in the beginning to associate with your class's instance. If this is not possible/desired, have you considered a DOM-style interface, where the document is parsed, and client's can then walk the tree? This would avoid the problem of having to have a callback mechanism. It looks like some of this has been covered in your mailing list, but I didn't see anything about what the final plan will be. I'm currently trying out 0.6.6. Thanks in advance, Kevin Tambascio [email protected] -- Visit my open-source Personal-Finance project, KMyMoney2 at http://kmymoney2.sourceforge.net ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click