From 68d3fd47bb9b75e65859d14199ffee01f16ac9a7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 20:47:51 +0000 Subject: HCONTACT is not needed anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@8086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NotesAndReminders/src/miscutils.cpp | 6 +++--- plugins/NotesAndReminders/src/miscutils.h | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/NotesAndReminders') diff --git a/plugins/NotesAndReminders/src/miscutils.cpp b/plugins/NotesAndReminders/src/miscutils.cpp index 3212495f2f..1ebc3fab85 100644 --- a/plugins/NotesAndReminders/src/miscutils.cpp +++ b/plugins/NotesAndReminders/src/miscutils.cpp @@ -27,7 +27,7 @@ void FreeSettingBlob(WORD pSize,void *pbBlob) db_free(&dbv); } -void ReadSettingBlob(HCONTACT hContact, char *ModuleName, char *SettingName, WORD *pSize, void **pbBlob) +void ReadSettingBlob(MCONTACT hContact, char *ModuleName, char *SettingName, WORD *pSize, void **pbBlob) { DBVARIANT dbv = {0}; dbv.type = DBVT_BLOB; @@ -41,12 +41,12 @@ void ReadSettingBlob(HCONTACT hContact, char *ModuleName, char *SettingName, WOR } } -void WriteSettingIntArray(HCONTACT hContact,char *ModuleName,char *SettingName,const int *Value, int Size) +void WriteSettingIntArray(MCONTACT hContact,char *ModuleName,char *SettingName,const int *Value, int Size) { db_set_blob(hContact, ModuleName, SettingName, (void*)Value, sizeof(int)*Size); } -bool ReadSettingIntArray(HCONTACT hContact,char *ModuleName,char *SettingName,int *Value, int Size) +bool ReadSettingIntArray(MCONTACT hContact,char *ModuleName,char *SettingName,int *Value, int Size) { WORD sz = 4096; int *pData; diff --git a/plugins/NotesAndReminders/src/miscutils.h b/plugins/NotesAndReminders/src/miscutils.h index e1fb803c0e..4e4df46115 100644 --- a/plugins/NotesAndReminders/src/miscutils.h +++ b/plugins/NotesAndReminders/src/miscutils.h @@ -1,13 +1,13 @@ -void ReadSettingBlob(HCONTACT hContact, char *ModuleName, +void ReadSettingBlob(MCONTACT hContact, char *ModuleName, char *SettingName, WORD *pSize, void **pbBlob); void FreeSettingBlob(WORD pSize,void * pbBlob); -BOOL ReadSettingBool(HCONTACT hContact,char *ModuleName, +BOOL ReadSettingBool(MCONTACT hContact,char *ModuleName, char *SettingName,BOOL Default); -void WriteSettingBool(HCONTACT hContact,char *ModuleName, +void WriteSettingBool(MCONTACT hContact,char *ModuleName, char *SettingName,BOOL Value); -void WriteSettingIntArray(HCONTACT hContact,char *ModuleName, +void WriteSettingIntArray(MCONTACT hContact,char *ModuleName, char *SettingName,const int *Value, int Size); -bool ReadSettingIntArray(HCONTACT hContact,char *ModuleName, +bool ReadSettingIntArray(MCONTACT hContact,char *ModuleName, char *SettingName,int *Value, int Size); WORD ConvertHotKeyToControl(WORD HK); -- cgit v1.2.3