summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-04-25 17:08:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-04-25 17:08:32 +0300
commit6ea21b88c16c553aa97e2cd53266ffd4a689d581 (patch)
treefd32557b4347043c0ce04aaaad2333e90faee3ba /src/mir_app
parentc9f5b74041f85d59dd061c7e1cfbe35d23ead9a3 (diff)
db_event_add / db_event_edit to receive const pointer to DBEVENTINFO
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/MDatabaseReadonly.cpp4
-rw-r--r--src/mir_app/src/mir_app.def4
-rw-r--r--src/mir_app/src/mir_app64.def4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/mir_app/src/MDatabaseReadonly.cpp b/src/mir_app/src/MDatabaseReadonly.cpp
index 51dfcbf3ec..c5ab94fed6 100644
--- a/src/mir_app/src/MDatabaseReadonly.cpp
+++ b/src/mir_app/src/MDatabaseReadonly.cpp
@@ -66,7 +66,7 @@ LONG MDatabaseReadonly::GetContactSize(void)
/////////////////////////////////////////////////////////////////////////////////////////
-MEVENT MDatabaseReadonly::AddEvent(MCONTACT, DBEVENTINFO*)
+MEVENT MDatabaseReadonly::AddEvent(MCONTACT, const DBEVENTINFO*)
{
return 0;
}
@@ -76,7 +76,7 @@ BOOL MDatabaseReadonly::DeleteEvent(MEVENT)
return 1;
}
-BOOL MDatabaseReadonly::EditEvent(MCONTACT, MEVENT, DBEVENTINFO*)
+BOOL MDatabaseReadonly::EditEvent(MCONTACT, MEVENT, const DBEVENTINFO*)
{
return 1;
}
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index ac47bef30c..8ba3de0e9b 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -575,7 +575,7 @@ Menu_SetVisible @662
Miranda_WaitOnHandleEx @663
??1MDatabaseReadonly@@UAE@XZ @664 NONAME
?AddContact@MDatabaseReadonly@@UAGIXZ @665 NONAME
-?AddEvent@MDatabaseReadonly@@UAGIIPAUDBEVENTINFO@@@Z @666 NONAME
+?AddEvent@MDatabaseReadonly@@UAGIIPBUDBEVENTINFO@@@Z @666 NONAME
?DeleteContact@MDatabaseReadonly@@UAGJI@Z @667 NONAME
?DeleteContactSetting@MDatabaseReadonly@@UAGHIPBD0@Z @668 NONAME
?DeleteEvent@MDatabaseReadonly@@UAGHI@Z @669 NONAME
@@ -597,7 +597,7 @@ Miranda_WaitOnHandleEx @663
??_7MDatabaseReadonly@@6B@ @685 NONAME
?GetEventById@MDatabaseReadonly@@UAGIPBD0@Z @686 NONAME
?SetEventId@MDatabaseReadonly@@UAGHPBDI0@Z @687 NONAME
-?EditEvent@MDatabaseReadonly@@UAGHIIPAUDBEVENTINFO@@@Z @688 NONAME
+?EditEvent@MDatabaseReadonly@@UAGHIIPBUDBEVENTINFO@@@Z @688 NONAME
g_hevContactAdded @689 NONAME
g_hevContactDeleted @690 NONAME
g_hevEventAdded @691 NONAME
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index b31b5675f9..430ffd6917 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -575,7 +575,7 @@ Menu_SetVisible @662
Miranda_WaitOnHandleEx @663
??1MDatabaseReadonly@@UEAA@XZ @664 NONAME
?AddContact@MDatabaseReadonly@@UEAAIXZ @665 NONAME
-?AddEvent@MDatabaseReadonly@@UEAAIIPEAUDBEVENTINFO@@@Z @666 NONAME
+?AddEvent@MDatabaseReadonly@@UEAAIIPEBUDBEVENTINFO@@@Z @666 NONAME
?DeleteContact@MDatabaseReadonly@@UEAAJI@Z @667 NONAME
?DeleteContactSetting@MDatabaseReadonly@@UEAAHIPEBD0@Z @668 NONAME
?DeleteEvent@MDatabaseReadonly@@UEAAHI@Z @669 NONAME
@@ -597,7 +597,7 @@ Miranda_WaitOnHandleEx @663
??_7MDatabaseReadonly@@6B@ @685 NONAME
?GetEventById@MDatabaseReadonly@@UEAAIPEBD0@Z @686 NONAME
?SetEventId@MDatabaseReadonly@@UEAAHPEBDI0@Z @687 NONAME
-?EditEvent@MDatabaseReadonly@@UEAAHIIPEAUDBEVENTINFO@@@Z @688 NONAME
+?EditEvent@MDatabaseReadonly@@UEAAHIIPEBUDBEVENTINFO@@@Z @688 NONAME
g_hevContactAdded @689 NONAME
g_hevContactDeleted @690 NONAME
g_hevEventAdded @691 NONAME