From: Michael Edwardes <michael@ci...> - 2002-02-24 22:21:29
-----BEGIN PGP SIGNED MESSAGE-----
Id like to propose an addition to the mymoney api while the new engine is
being developed but im not sure exactly how it would be implemented.
As the subject implies I think the addition of transaction history would be
good. This would be maintained for the 'current session' and would allow us
to rollback changes made to the file. The menu options undo/redo would then
be a easy to implement as well.
I would imagine we would have some sort of a singleton Session class which
would then have a list of all the commands executed whilst kmymoney2 was
The addBank, addAccount, addTransaction and (any?) others would need to be
modifed to updated this history so it would be correct.
When the user closes the file, deliberately or on exit, we could then write
out that transaction history as a record.
I know this isn't exactly detailed as im not entirely sure this is even
feasible but I think it would be a nice addition and something that could be
added to the new engine?
What do you think?
GPG Key: michael@... at http://wwwkeys.uk.pgp.net
GPG Key Fingerprint: EBC5 12A5 4894 54AA CEE0 8254 F78E DED9 375D E4AD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----