mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix GNC_EVENT_* values.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13341 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
600de300de
commit
c868ca663f
@ -1,3 +1,8 @@
|
||||
2006-02-21 Joshua Sled <jsled@asynchronous.org>
|
||||
|
||||
* lib/libqof/qof/qofevent.h (QOF_EVENT_CREATE):
|
||||
Fix event values.
|
||||
|
||||
2006-02-20 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/register/register-gnome/gnucash-date-picker.c: Andreas
|
||||
|
@ -44,13 +44,13 @@ typedef gint QofEventId;
|
||||
These defaults merely replicate previous behaviour,
|
||||
any process can define their own events.
|
||||
*/
|
||||
#define QOF_EVENT_NONE 0
|
||||
#define QOF_EVENT_CREATE 1
|
||||
#define QOF_EVENT_MODIFY 2
|
||||
#define QOF_EVENT_DESTROY 3
|
||||
#define QOF_EVENT_ADD 4
|
||||
#define QOF_EVENT_REMOVE 5
|
||||
#define QOF_EVENT_ALL 6 /**< unused */
|
||||
#define QOF_EVENT_NONE (0)
|
||||
#define QOF_EVENT_CREATE (1 << 1)
|
||||
#define QOF_EVENT_MODIFY (1 << 2)
|
||||
#define QOF_EVENT_DESTROY (1 << 3)
|
||||
#define QOF_EVENT_ADD (1 << 4)
|
||||
#define QOF_EVENT_REMOVE (1 << 5)
|
||||
#define QOF_EVENT_ALL (0xff)
|
||||
|
||||
/** Allow scope for more defaults in future. Additional
|
||||
event identifiers must be larger than this. */
|
||||
|
Loading…
Reference in New Issue
Block a user