mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
oops, obsoleted one routine a little too quick.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9589 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c473e8c026
commit
e23307d377
@ -44,6 +44,9 @@
|
||||
void gnc_engine_gen_event (QofEntity *entity,
|
||||
GNCEngineEventType event_type);
|
||||
|
||||
/* XXX deprecated, but still usedion on postgres backend */
|
||||
void gnc_engine_generate_event (const GUID *, QofIdType, GNCEngineEventType);
|
||||
|
||||
/* generates an event even when events are suspended! */
|
||||
void gnc_engine_force_event (QofEntity *entity,
|
||||
GNCEngineEventType event_type);
|
||||
|
@ -207,4 +207,15 @@ gnc_engine_gen_event (QofEntity *entity, GNCEngineEventType event_type)
|
||||
gnc_engine_generate_event_internal (entity, event_type);
|
||||
}
|
||||
|
||||
void
|
||||
gnc_engine_generate_event (const GUID *guid, QofIdType e_type,
|
||||
GNCEngineEventType event_type)
|
||||
{
|
||||
QofEntity ent;
|
||||
ent.guid = *guid;
|
||||
ent.e_type = e_type;
|
||||
if (suspend_counter) return;
|
||||
gnc_engine_generate_event_internal (&ent, event_type);
|
||||
}
|
||||
|
||||
/* =========================== END OF FILE ======================= */
|
||||
|
Loading…
Reference in New Issue
Block a user