summaryrefslogtreecommitdiff
path: root/plugins/CSList/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-19 14:24:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-19 14:24:12 +0000
commit83310365c69bd40365ee0ae0e16c99c28e24cd0b (patch)
tree10ac18bfdc3fcf0fd62a5aba3ccb5dedffa2e410 /plugins/CSList/src
parentd68cd04d6f7b997692476b531bdc30f546a50efd (diff)
- 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
Diffstat (limited to 'plugins/CSList/src')
-rw-r--r--plugins/CSList/src/cslist.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/CSList/src/cslist.cpp b/plugins/CSList/src/cslist.cpp
index f445d8de7e..6d788ebe4c 100644
--- a/plugins/CSList/src/cslist.cpp
+++ b/plugins/CSList/src/cslist.cpp
@@ -96,7 +96,7 @@ static int OnCreateMenuItems(WPARAM, LPARAM)
{
int protoCount;
PROTOACCOUNT** pdesc;
- ProtoEnumAccounts(&protoCount, &pdesc);
+ Proto_EnumAccounts(&protoCount, &pdesc);
for (int i = 0; i < protoCount; i++)
if (ProtoServiceExists(pdesc[i]->szModuleName, PS_SETCUSTOMSTATUSEX))
@@ -179,7 +179,7 @@ void SetStatus(WORD code, StatusItem* item, char *szAccName)
if (code == IDCLOSE)
return;
- PROTOACCOUNT* pdescr = (PROTOACCOUNT*)CallService(MS_PROTO_GETACCOUNT, 0, (LPARAM)szAccName);
+ PROTOACCOUNT* pdescr = Proto_GetAccount(szAccName);
if (pdescr == NULL)
return;
@@ -225,7 +225,7 @@ INT_PTR showList(WPARAM, LPARAM, LPARAM param)
void addProtoStatusMenuItem(char *protoName)
{
- PROTOACCOUNT *pdescr = ProtoGetAccount(protoName);
+ PROTOACCOUNT *pdescr = Proto_GetAccount(protoName);
if (pdescr == NULL)
return;
@@ -321,7 +321,7 @@ CSWindow::~CSWindow()
void CSWindow::initIcons()
{
- PROTOACCOUNT *pdescr = ProtoGetAccount(m_protoName);
+ PROTOACCOUNT *pdescr = Proto_GetAccount(m_protoName);
if (pdescr == NULL)
return;
@@ -471,7 +471,7 @@ void CSAMWindow::exec()
void CSAMWindow::setCombo()
{
- PROTOACCOUNT *pdescr = ProtoGetAccount(m_parent->m_protoName);
+ PROTOACCOUNT *pdescr = Proto_GetAccount(m_parent->m_protoName);
if (pdescr == NULL)
return;
@@ -567,7 +567,7 @@ void CSAMWindow::checkItemValidity()
GetDlgItemText(m_handle, IDC_MESSAGE, tszInputMessage, SIZEOF(tszInputMessage));
- PROTOACCOUNT* pdescr = (PROTOACCOUNT*)CallService(MS_PROTO_GETACCOUNT, 0, (LPARAM)m_parent->m_protoName);
+ PROTOACCOUNT *pdescr = Proto_GetAccount(m_parent->m_protoName);
if (pdescr == NULL)
return;