summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraProto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-23 12:32:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-23 12:32:12 +0000
commit8788bb35e10ef5403a08388d33ed4ab2ff7d67df (patch)
treeb79e5efbfb02418b1276442a59e7722252cf39c8 /protocols/MRA/src/MraProto.cpp
parent05ccb4dcd0b507fb000426667ed3f25c0b93db2b (diff)
new helper applied instead of MS_DB_SETSETTINGRESIDENT
git-svn-id: http://svn.miranda-ng.org/main/trunk@5094 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraProto.cpp')
-rw-r--r--protocols/MRA/src/MraProto.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp
index 51ce197008..5aa836733f 100644
--- a/protocols/MRA/src/MraProto.cpp
+++ b/protocols/MRA/src/MraProto.cpp
@@ -106,20 +106,20 @@ int CMraProto::OnModulesLoaded(WPARAM, LPARAM)
SetContactBasicInfoW(hContact, SCBIFSI_LOCK_CHANGES_EVENTS, (SCBIF_ID|SCBIF_GROUP_ID|SCBIF_SERVER_FLAG|SCBIF_STATUS), -1, -1, 0, 0, ID_STATUS_OFFLINE, NULL, 0, NULL, 0, NULL, 0);
// unsaved values
- DB_MraCreateResidentSetting("Status");// NOTE: XStatus cannot be temporary
- DB_MraCreateResidentSetting("LogonTS");
- DB_MraCreateResidentSetting("ContactID");
- DB_MraCreateResidentSetting("GroupID");
- DB_MraCreateResidentSetting("ContactFlags");
- DB_MraCreateResidentSetting("ContactSeverFlags");
- DB_MraCreateResidentSetting("HooksLocked");
- DB_MraCreateResidentSetting(DBSETTING_CAPABILITIES);
- DB_MraCreateResidentSetting(DBSETTING_XSTATUSNAME);
- DB_MraCreateResidentSetting(DBSETTING_XSTATUSMSG);
- DB_MraCreateResidentSetting(DBSETTING_BLOGSTATUSTIME);
- DB_MraCreateResidentSetting(DBSETTING_BLOGSTATUSID);
- DB_MraCreateResidentSetting(DBSETTING_BLOGSTATUS);
- DB_MraCreateResidentSetting(DBSETTING_BLOGSTATUSMUSIC);
+ db_set_resident(m_szModuleName, "Status");// NOTE: XStatus cannot be temporary
+ db_set_resident(m_szModuleName, "LogonTS");
+ db_set_resident(m_szModuleName, "ContactID");
+ db_set_resident(m_szModuleName, "GroupID");
+ db_set_resident(m_szModuleName, "ContactFlags");
+ db_set_resident(m_szModuleName, "ContactSeverFlags");
+ db_set_resident(m_szModuleName, "HooksLocked");
+ db_set_resident(m_szModuleName, DBSETTING_CAPABILITIES);
+ db_set_resident(m_szModuleName, DBSETTING_XSTATUSNAME);
+ db_set_resident(m_szModuleName, DBSETTING_XSTATUSMSG);
+ db_set_resident(m_szModuleName, DBSETTING_BLOGSTATUSTIME);
+ db_set_resident(m_szModuleName, DBSETTING_BLOGSTATUSID);
+ db_set_resident(m_szModuleName, DBSETTING_BLOGSTATUS);
+ db_set_resident(m_szModuleName, DBSETTING_BLOGSTATUSMUSIC);
// destroy all chat sessions
if (bChatExists)