summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_database.h2
-rw-r--r--include/m_protoint.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/m_database.h b/include/m_database.h
index e227badc18..d21537fc8d 100644
--- a/include/m_database.h
+++ b/include/m_database.h
@@ -293,7 +293,7 @@ EXTERN_C MIR_CORE_DLL(int) db_event_delete(MEVENT hDbEvent, bool bFromServer = f
// Edits an event in the database
// Returns 0 on success, or nonzero on error
-EXTERN_C MIR_CORE_DLL(int) db_event_edit(MEVENT hDbEvent, const DBEVENTINFO *dbei);
+EXTERN_C MIR_CORE_DLL(int) db_event_edit(MEVENT hDbEvent, const DBEVENTINFO *dbei, bool bFromServer = false);
// Tries to find an event by its id if present
// if an event is found, it's edited, otherwise a new event is added
diff --git a/include/m_protoint.h b/include/m_protoint.h
index 693656bb0d..2c1a7ffe53 100644
--- a/include/m_protoint.h
+++ b/include/m_protoint.h
@@ -270,7 +270,7 @@ public:
virtual void OnEventDeleted(MCONTACT, MEVENT);
// called when an event is altered in database
- virtual void OnEventEdited(MCONTACT, MEVENT);
+ virtual void OnEventEdited(MCONTACT, MEVENT, const DBEVENTINFO &dbei);
// called when an account gets physically removed from the database
virtual void OnErase();