On Wed, Jun 09, 2004 at 12:18:08PM -0400, Derek Atkins was heard to remark:
> "Tomas Pospisek's Mailing Lists" <[EMAIL PROTECTED]> writes:
> 
> >> > 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?
>
> > that is *not* familiar with gnucash's internals?
> 
> Hmm, I dont know.  I suspect that #1, adding hooks into the objects

Hmm, Derek is already familiar with gnucash internals, and he plumb
forgot about src/engine/gnc-event.h which is used by various GUI
elements to figure out when to redraw.  Trnasactions, lots, periods,
accounts, sched txn's, prices, books and freqspecs all generate
these events.

Yes, the current interface to gnc-event is ugly and I plan to redo 
it to fit with qof.

> #2 is probably going to take a LOT longer.  

Well #2 was the #1 reason for doing this scheme thing in the first
place.  All *other* reasons for doing scheme were secondary to 
providing scriptability.  Scheme was not needed for reports, nor
was it needed for any other reason.  It was needed *solely* to provide 
scriptability.  I guess we failed at that ... 

--linas


-- 
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <[EMAIL PROTECTED]>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to