From 83310365c69bd40365ee0ae0e16c99c28e24cd0b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 19 Jun 2015 14:24:12 +0000 Subject: - all static protocol services replaced with functions; - m_protomod.h removed as useless git-svn-id: http://svn.miranda-ng.org/main/trunk@14260 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewXstatusNotify/src/main.cpp | 4 ++-- plugins/NewXstatusNotify/src/options.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/NewXstatusNotify/src') diff --git a/plugins/NewXstatusNotify/src/main.cpp b/plugins/NewXstatusNotify/src/main.cpp index dd3a5c2796..d8de67a965 100644 --- a/plugins/NewXstatusNotify/src/main.cpp +++ b/plugins/NewXstatusNotify/src/main.cpp @@ -1139,9 +1139,9 @@ int ModulesLoaded(WPARAM, LPARAM) int count = 0; PROTOACCOUNT **accounts = NULL; - ProtoEnumAccounts(&count, &accounts); + Proto_EnumAccounts(&count, &accounts); for (int i = 0; i < count; i++) - if (IsAccountEnabled(accounts[i])) + if (Proto_IsAccountEnabled(accounts[i])) db_set_b(NULL, MODULE, accounts[i]->szModuleName, 0); return 0; diff --git a/plugins/NewXstatusNotify/src/options.cpp b/plugins/NewXstatusNotify/src/options.cpp index 7c4be90878..2fc03679d2 100644 --- a/plugins/NewXstatusNotify/src/options.cpp +++ b/plugins/NewXstatusNotify/src/options.cpp @@ -717,7 +717,7 @@ INT_PTR CALLBACK DlgProcSMPopupOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA int count; PROTOACCOUNT **protos; - ProtoEnumAccounts(&count, &protos); + Proto_EnumAccounts(&count, &protos); for (int i = 0; i < count; i++) { if (IsSuitableProto(protos[i])) { -- cgit v1.2.3