diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-23 22:02:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-23 22:02:44 +0000 |
commit | 01b7a72d43ed1c71544c22c7afb61829762ffe8e (patch) | |
tree | b4c570f41c69097492329b9d18a64f0b42f585ef /plugins/NotesAndReminders/src/miscutils.cpp | |
parent | 037286255b6a26ed5fba94c5fe9e68b88c1755f7 (diff) |
same for some another plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@5104 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NotesAndReminders/src/miscutils.cpp')
-rw-r--r-- | plugins/NotesAndReminders/src/miscutils.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/plugins/NotesAndReminders/src/miscutils.cpp b/plugins/NotesAndReminders/src/miscutils.cpp index 1ea10305c9..8ce1ca8655 100644 --- a/plugins/NotesAndReminders/src/miscutils.cpp +++ b/plugins/NotesAndReminders/src/miscutils.cpp @@ -23,42 +23,6 @@ WORD ConvertControlToHotKey(WORD HK) return R;
}
-void WriteSettingInt(HANDLE hContact,char *ModuleName,char *SettingName,int Value)
-{
- DBCONTACTWRITESETTING cws = {0};
- DBVARIANT dbv = {0};
- dbv.type = DBVT_DWORD;
- dbv.dVal = Value;
- cws.szModule = ModuleName;
- cws.szSetting = SettingName;
- cws.value = dbv;
- CallService(MS_DB_CONTACT_WRITESETTING, (WPARAM)hContact, (DWORD)&cws);
-}
-
-int ReadSettingInt(HANDLE hContact,char *ModuleName,char *SettingName,int Default)
-{
- DBCONTACTGETSETTING cws = {0};
- DBVARIANT dbv = {0};
- dbv.type = DBVT_DWORD;
- dbv.dVal = Default;
- cws.szModule = ModuleName;
- cws.szSetting = SettingName;
- cws.pValue = &dbv;
- if (CallService(MS_DB_CONTACT_GETSETTING,(DWORD)hContact,(DWORD)&cws))
- return Default;
- else
- return dbv.dVal;
-}
-
-void DeleteSetting(HANDLE hContact,char *ModuleName,char *SettingName)
-{
- DBCONTACTGETSETTING dbcgs = {0};
- dbcgs.szModule = ModuleName;
- dbcgs.szSetting = SettingName;
- dbcgs.pValue = NULL;
- CallService(MS_DB_CONTACT_DELETESETTING,(DWORD)hContact,(DWORD)&dbcgs);
-}
-
void FreeSettingBlob(WORD pSize,void *pbBlob)
{
DBVARIANT dbv = {0};
|