diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-04 13:09:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-04 13:09:03 +0000 |
commit | 814f6082b4fa4b4c7c31edba2e1a63bfeaf71828 (patch) | |
tree | 3e2030e49e668887f6aa33f058bf1b0f69015a41 /plugins/Non-IM Contact/src | |
parent | 9a58588e9affe4bdc2ce96e10b49a75babbdc24c (diff) |
Non-IM protocol must be virtual
git-svn-id: http://svn.miranda-ng.org/main/trunk@4300 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Non-IM Contact/src')
-rw-r--r-- | plugins/Non-IM Contact/src/main.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Non-IM Contact/src/main.cpp b/plugins/Non-IM Contact/src/main.cpp index 2de679d57b..a41aa8500b 100644 --- a/plugins/Non-IM Contact/src/main.cpp +++ b/plugins/Non-IM Contact/src/main.cpp @@ -122,9 +122,7 @@ extern "C" __declspec(dllexport) int Load() HookEvent(ME_OPT_INITIALISE,NimcOptInit);
HookEvent(ME_CLIST_STATUSMODECHANGE, SetLCStatus);
- PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE };
- pd.szName = MODNAME;
- pd.type = PROTOTYPE_PROTOCOL;
+ PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE, MODNAME, PROTOTYPE_VIRTUAL };
CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
//load services (the first 5 are the basic ones needed to make a new protocol)
@@ -157,11 +155,12 @@ extern "C" __declspec(dllexport) int Load() Menu_AddMainMenuItem(&mi);
if (db_get_b(NULL, MODNAME, "Beta",0)) {
- mi.position = 600090000;
+ mi.position = 600090002;
mi.pszName = LPGEN("&Export all Non-IM Contacts");
mi.pszService = "ExportLCcontacts";
Menu_AddMainMenuItem(&mi);
+ mi.position = 600090003;
mi.pszName = LPGEN("&Import Non-IM Contacts");
mi.pszService = "ImportLCcontacts";
Menu_AddMainMenuItem(&mi);
|