diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-19 14:24:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-19 14:24:12 +0000 |
commit | 83310365c69bd40365ee0ae0e16c99c28e24cd0b (patch) | |
tree | 10ac18bfdc3fcf0fd62a5aba3ccb5dedffa2e410 /plugins/MirandaG15 | |
parent | d68cd04d6f7b997692476b531bdc30f546a50efd (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/MirandaG15')
-rw-r--r-- | plugins/MirandaG15/src/CAppletManager.cpp | 2 | ||||
-rw-r--r-- | plugins/MirandaG15/src/CConfig.cpp | 2 | ||||
-rw-r--r-- | plugins/MirandaG15/src/StdAfx.h | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/plugins/MirandaG15/src/CAppletManager.cpp b/plugins/MirandaG15/src/CAppletManager.cpp index b31b5a76f5..f8ff7c95c4 100644 --- a/plugins/MirandaG15/src/CAppletManager.cpp +++ b/plugins/MirandaG15/src/CAppletManager.cpp @@ -87,7 +87,7 @@ bool CAppletManager::Initialize(tstring strAppletName) CProtocolData *pProtoData = NULL; CIRCConnection *pIRCConnection = NULL; - ProtoEnumAccounts(&iCount, &ppAccounts); + Proto_EnumAccounts(&iCount, &ppAccounts); for(int i=0;i<iCount;i++) { /**if(ppProtocolDescriptor[i]->type != PROTOTYPE_PROTOCOL) diff --git a/plugins/MirandaG15/src/CConfig.cpp b/plugins/MirandaG15/src/CConfig.cpp index 64892272e5..6fe8307ecf 100644 --- a/plugins/MirandaG15/src/CConfig.cpp +++ b/plugins/MirandaG15/src/CConfig.cpp @@ -116,7 +116,7 @@ void CConfig::LoadSettings() CProtoFilter *pProtoFilter;
tstring strSetting;
- CallService(MS_PROTO_ENUMACCOUNTS,(WPARAM)&iCount,(LPARAM)&ppAccounts);
+ Proto_EnumAccounts(&iCount, &ppAccounts);
for(int i=0;i<iCount;i++)
{
/*if(ppProtocolDescriptor[i]->type != PROTOTYPE_PROTOCOL)
diff --git a/plugins/MirandaG15/src/StdAfx.h b/plugins/MirandaG15/src/StdAfx.h index 3c2e1eb790..f92f33606d 100644 --- a/plugins/MirandaG15/src/StdAfx.h +++ b/plugins/MirandaG15/src/StdAfx.h @@ -20,7 +20,6 @@ using namespace std; #include <newpluginapi.h>
#include <m_message.h>
-#include <m_protomod.h>
#include <m_protosvc.h>
#include <m_database.h>
#include <m_options.h>
|