summaryrefslogtreecommitdiff
path: root/plugins/KeyboardNotify
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/KeyboardNotify
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/KeyboardNotify')
-rw-r--r--plugins/KeyboardNotify/src/main.cpp2
-rw-r--r--plugins/KeyboardNotify/src/options.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/KeyboardNotify/src/main.cpp b/plugins/KeyboardNotify/src/main.cpp
index 61e9a6b01d..d3d18ab646 100644
--- a/plugins/KeyboardNotify/src/main.cpp
+++ b/plugins/KeyboardNotify/src/main.cpp
@@ -652,7 +652,7 @@ void updateXstatusProto(PROTOCOL_INFO *protoInfo)
void createProtocolList(void)
{
PROTOACCOUNT **proto;
- ProtoEnumAccounts(&ProtoList.protoCount, &proto);
+ Proto_EnumAccounts(&ProtoList.protoCount, &proto);
ProtoList.protoInfo = (PROTOCOL_INFO *)malloc(ProtoList.protoCount * sizeof(PROTOCOL_INFO));
if (!ProtoList.protoInfo) {
ProtoList.protoCount = 0;
diff --git a/plugins/KeyboardNotify/src/options.cpp b/plugins/KeyboardNotify/src/options.cpp
index bacf145aa4..a0b31b6e55 100644
--- a/plugins/KeyboardNotify/src/options.cpp
+++ b/plugins/KeyboardNotify/src/options.cpp
@@ -225,7 +225,7 @@ INT_PTR CALLBACK DlgProcProtoOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
lvItem.iSubItem = 0;
for (int i=0; i < ProtoList.protoCount; i++) {
int count; PROTOACCOUNT** protos;
- ProtoEnumAccounts( &count, &protos );
+ Proto_EnumAccounts( &count, &protos );
if(ProtoList.protoInfo[i].visible) {
lvItem.lParam = (LPARAM)ProtoList.protoInfo[i].szProto;
lvItem.pszText = protos[i] -> tszAccountName;
@@ -1362,7 +1362,7 @@ INT_PTR CALLBACK DlgProcXstatusList(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
if (ProtoList.protoInfo[i].enabled && XstatusListAux[i].count) {
int count;
PROTOACCOUNT **protos;
- ProtoEnumAccounts( &count, &protos );
+ Proto_EnumAccounts( &count, &protos );
tvis.hParent = NULL;
tvis.hInsertAfter = TVI_LAST;