Re: QOF iteration and callbacks

2004-06-18 Thread Derek Atkins
Neil Williams <[EMAIL PROTECTED]> writes: > "one can then ask, at run time, what parameters are associated with a given > type, even if those parameters were not known at compile time." > src/doc/html/group__Class.html Yes, at this point there are no APIs to implement this. > I can see how to

Re: QOF iteration and callbacks

2004-06-18 Thread Neil Williams
On Friday 18 June 2004 9:24, Neil Williams wrote: > The most recent (working) draft is back on codehelp: http://www.codehelp.co.uk/code/basic.c Sorry. -- Neil Williams = http://www.codehelp.co.uk/ http://www.dclug.org.uk/ http://www.isbn.org.uk/ http://sourceforge.net/projects/isbn

Re: QOF iteration and callbacks

2004-06-18 Thread Neil Williams
"one can then ask, at run time, what parameters are associated with a given type, even if those parameters were not known at compile time." src/doc/html/group__Class.html I can see how to query individual parameters from qofclass when you know the name and I've got access to the getter and sette

Re: QOF iteration and callbacks

2004-06-18 Thread Derek Atkins
Neil Williams <[EMAIL PROTECTED]> writes: > On Friday 18 June 2004 3:08, Linas Vepstas wrote: >> On Thu, Jun 17, 2004 at 10:46:33AM -0400, Derek Atkins was heard to remark: >> > > void gnc_bm_foreach (QofEntity obj, gpointer ud1); doesn't work. Why? >> > >> > You need (QofEntity* obj, gpointer ud1

Re: g-wrap (was Re: QOF won't link)

2004-06-18 Thread Derek Atkins
[EMAIL PROTECTED] (Linas Vepstas) writes: > Actually, I suspect it will be easy .. just changing the makefiles > to link the needed libs directly, and choping some code. That's some of it, but not necessarily all of it. There's still a major issue with scheme environments, etc. > I was going to

Re: automatic ex/import of data

2004-06-18 Thread Christian Stimming
Hello Tomas, Tomas Pospisek's Mailing Lists schrieb: 1. do there exist hooks where a script or external application can be called when a transaction is entered? 2. is there a possiblity to call gnucash through some kind of RPC, from the command line or as a daemon to add a transaction? I thou

Re: g-wrap (was Re: QOF won't link)

2004-06-18 Thread Linas Vepstas
On Fri, Jun 18, 2004 at 10:48:29AM -0400, Derek Atkins was heard to remark: > > OTOH I'd also like to un-modularize much of gnucash. The current > archicture and half-completed implementation causes more problems than > it solves. Unfortunately I suspect it'll be a LOT of work to fix, and > I ju

Re: QOF iteration and callbacks

2004-06-18 Thread Neil Williams
On Friday 18 June 2004 3:08, Linas Vepstas wrote: > On Thu, Jun 17, 2004 at 10:46:33AM -0400, Derek Atkins was heard to remark: > > > void gnc_bm_foreach (QofEntity obj, gpointer ud1); doesn't work. Why? > > > > You need (QofEntity* obj, gpointer ud1). > > I'm guessing that the * was dropped accide

g-wrap (was Re: QOF won't link)

2004-06-18 Thread Derek Atkins
[EMAIL PROTECTED] (Linas Vepstas) writes: > On Fri, Jun 18, 2004 at 10:26:20AM -0400, Derek Atkins was heard to remark: >> How, you might ask? g-wrap! It's >> glib bindings are compiled against glib-1.2. > > We gotta do something to fix g-wrap. Its been the source of pain > for a long while; I

Re: QOF won't link

2004-06-18 Thread Linas Vepstas
On Fri, Jun 18, 2004 at 10:26:20AM -0400, Derek Atkins was heard to remark: > How, you might ask? g-wrap! It's > glib bindings are compiled against glib-1.2. We gotta do something to fix g-wrap. Its been the source of pain for a long while; I keep hoping things will get better but they don't.

Re: QOF won't link

2004-06-18 Thread Derek Atkins
[EMAIL PROTECTED] (Linas Vepstas) writes: > On Thu, Jun 17, 2004 at 10:02:56AM -0400, Derek Atkins was heard to remark: >> Eventually we'll want to build qofsql.. The only question is whether >> we'll want to include sqlite (which I assume libsql is?) in the > > No, its actually a hunk of code th

Re: QOF iteration and callbacks

2004-06-18 Thread Linas Vepstas
On Thu, Jun 17, 2004 at 10:46:33AM -0400, Derek Atkins was heard to remark: > > void gnc_bm_foreach (QofEntity obj, gpointer ud1); doesn't work. Why? > > You need (QofEntity* obj, gpointer ud1). I'm guessing that the * was dropped accidentally, and then Niel had a very hard seeing that it was m

Re: QOF won't link

2004-06-18 Thread Linas Vepstas
On Thu, Jun 17, 2004 at 10:02:56AM -0400, Derek Atkins was heard to remark: > Eventually we'll want to build qofsql.. The only question is whether > we'll want to include sqlite (which I assume libsql is?) in the No, its actually a hunk of code that I ripped out of libdba (the gnome-db lib). Gn