diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-31 22:09:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-31 22:09:02 +0000 |
commit | b1db27c61150e1313a537d1de009ec26bae414ab (patch) | |
tree | ef00c016871fd39258f8d540633b080030673c99 /plugins/Non-IM Contact | |
parent | e48bae4c6ccf1003916b3960f30816ce8aaa955b (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 'plugins/Non-IM Contact')
-rw-r--r-- | plugins/Non-IM Contact/src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Non-IM Contact/src/main.cpp b/plugins/Non-IM Contact/src/main.cpp index 08143c5f62..76bdd444de 100644 --- a/plugins/Non-IM Contact/src/main.cpp +++ b/plugins/Non-IM Contact/src/main.cpp @@ -128,10 +128,10 @@ extern "C" __declspec(dllexport) int Load() CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
//load services (the first 5 are the basic ones needed to make a new protocol)
- CreateServiceFunction(MODNAME PS_GETCAPS, GetLCCaps);
- CreateServiceFunction(MODNAME PS_GETNAME, GetLCName);
- CreateServiceFunction(MODNAME PS_LOADICON, LoadLCIcon);
- CreateServiceFunction(MODNAME PS_GETSTATUS, GetLCStatus);
+ CreateProtoServiceFunction(MODNAME, PS_GETCAPS, GetLCCaps);
+ CreateProtoServiceFunction(MODNAME, PS_GETNAME, GetLCName);
+ CreateProtoServiceFunction(MODNAME, PS_LOADICON, LoadLCIcon);
+ CreateProtoServiceFunction(MODNAME, PS_GETSTATUS, GetLCStatus);
CreateServiceFunction("AddLCcontact", addContact);
CreateServiceFunction("EditLCcontact", editContact);
|