summaryrefslogtreecommitdiff
path: root/protocols/EmLanProto/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-31 22:09:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-31 22:09:02 +0000
commitb1db27c61150e1313a537d1de009ec26bae414ab (patch)
treeef00c016871fd39258f8d540633b080030673c99 /protocols/EmLanProto/src
parente48bae4c6ccf1003916b3960f30816ce8aaa955b (diff)
- CreateProtoServiceFunction() moved into mir_core.dll instead of inlining
- all old protocols moved on it; - code cleaning; git-svn-id: http://svn.miranda-ng.org/main/trunk@13953 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/EmLanProto/src')
-rw-r--r--protocols/EmLanProto/src/amdproto.cpp41
1 files changed, 20 insertions, 21 deletions
diff --git a/protocols/EmLanProto/src/amdproto.cpp b/protocols/EmLanProto/src/amdproto.cpp
index 2186c18e55..ec6c441374 100644
--- a/protocols/EmLanProto/src/amdproto.cpp
+++ b/protocols/EmLanProto/src/amdproto.cpp
@@ -356,27 +356,26 @@ extern "C" int __declspec(dllexport) __cdecl Load()
pd.type = PROTOTYPE_PROTOCOL;
CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
- CreateServiceFunction(PROTONAME PS_GETCAPS, EMPGetCaps);
- CreateServiceFunction(PROTONAME PS_GETNAME, EMPGetName);
- CreateServiceFunction(PROTONAME PS_LOADICON, EMPLoadIcon);
- CreateServiceFunction(PROTONAME PS_SETSTATUS, EMPSetStatus);
- CreateServiceFunction(PROTONAME PS_GETSTATUS, EMPGetStatus);
- CreateServiceFunction(PROTONAME PS_BASICSEARCH, EMPBasicSearch);
- CreateServiceFunction(PROTONAME PS_ADDTOLIST, EMPAddToList);
- CreateServiceFunction(PROTONAME PSS_MESSAGE, EMPSendMessage);
- CreateServiceFunction(PROTONAME PSS_URL, EMPSendUrl);
- CreateServiceFunction(PROTONAME PSR_MESSAGE, EMPRecvMessageUrl);
- CreateServiceFunction(PROTONAME PSR_URL, EMPRecvMessageUrl);
- CreateServiceFunction(PROTONAME PSS_GETAWAYMSG, EMPGetAwayMsg);
- CreateServiceFunction(PROTONAME PS_SETAWAYMSG, EMPSetAwayMsg);
- CreateServiceFunction(PROTONAME PSR_AWAYMSG, EMPRecvAwayMessage);
-
- CreateServiceFunction(PROTONAME PS_FILERESUME, EMPFileResume);
- CreateServiceFunction(PROTONAME PSS_FILEALLOW, EMPSendFileAllow);
- CreateServiceFunction(PROTONAME PSS_FILEDENY, EMPSendFileDeny);
- CreateServiceFunction(PROTONAME PSS_FILECANCEL, EMPSendFileCancel);
- CreateServiceFunction(PROTONAME PSS_FILE, EMPSendFile);
- CreateServiceFunction(PROTONAME PSR_FILE, EMPRecvFile);
+ CreateProtoServiceFunction(PROTONAME, PS_GETCAPS, EMPGetCaps);
+ CreateProtoServiceFunction(PROTONAME, PS_GETNAME, EMPGetName);
+ CreateProtoServiceFunction(PROTONAME, PS_LOADICON, EMPLoadIcon);
+ CreateProtoServiceFunction(PROTONAME, PS_SETSTATUS, EMPSetStatus);
+ CreateProtoServiceFunction(PROTONAME, PS_GETSTATUS, EMPGetStatus);
+ CreateProtoServiceFunction(PROTONAME, PS_BASICSEARCH, EMPBasicSearch);
+ CreateProtoServiceFunction(PROTONAME, PS_ADDTOLIST, EMPAddToList);
+ CreateProtoServiceFunction(PROTONAME, PSS_MESSAGE, EMPSendMessage);
+ CreateProtoServiceFunction(PROTONAME, PSS_URL, EMPSendUrl);
+ CreateProtoServiceFunction(PROTONAME, PSR_MESSAGE, EMPRecvMessageUrl);
+ CreateProtoServiceFunction(PROTONAME, PSR_URL, EMPRecvMessageUrl);
+ CreateProtoServiceFunction(PROTONAME, PSS_GETAWAYMSG, EMPGetAwayMsg);
+ CreateProtoServiceFunction(PROTONAME, PS_SETAWAYMSG, EMPSetAwayMsg);
+ CreateProtoServiceFunction(PROTONAME, PSR_AWAYMSG, EMPRecvAwayMessage);
+ CreateProtoServiceFunction(PROTONAME, PS_FILERESUME, EMPFileResume);
+ CreateProtoServiceFunction(PROTONAME, PSS_FILEALLOW, EMPSendFileAllow);
+ CreateProtoServiceFunction(PROTONAME, PSS_FILEDENY, EMPSendFileDeny);
+ CreateProtoServiceFunction(PROTONAME, PSS_FILECANCEL, EMPSendFileCancel);
+ CreateProtoServiceFunction(PROTONAME, PSS_FILE, EMPSendFile);
+ CreateProtoServiceFunction(PROTONAME, PSR_FILE, EMPRecvFile);
g_heOptions = HookEvent(ME_OPT_INITIALISE,EMPCreateOptionsDlg);