summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-27 13:29:32 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-27 13:29:32 +0000
commit7d5177b035aed270dc6e9f4e7a2692597abb9230 (patch)
treec80c6709509cb888f1c298327cea36ffe35987a0 /protocols/IRCG/src/main.cpp
parent74d73e97add44364f5f000d23e79b2f12fc8833d (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@7913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/src/main.cpp')
-rw-r--r--protocols/IRCG/src/main.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/protocols/IRCG/src/main.cpp b/protocols/IRCG/src/main.cpp
index dff017fdee..5dd5f1ec82 100644
--- a/protocols/IRCG/src/main.cpp
+++ b/protocols/IRCG/src/main.cpp
@@ -69,27 +69,27 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda
return &pluginInfo;
}
-extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_PROTOCOL, MIID_LAST};
+extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOCOL, MIID_LAST };
/////////////////////////////////////////////////////////////////////////////////////////
-static CIrcProto* ircProtoInit( const char* pszProtoName, const TCHAR* tszUserName )
+static CIrcProto* ircProtoInit(const char* pszProtoName, const TCHAR* tszUserName)
{
- CIrcProto *ppro = new CIrcProto( pszProtoName, tszUserName );
- g_Instances.insert( ppro );
+ CIrcProto *ppro = new CIrcProto(pszProtoName, tszUserName);
+ g_Instances.insert(ppro);
return ppro;
}
-static int ircProtoUninit( CIrcProto *ppro )
+static int ircProtoUninit(CIrcProto *ppro)
{
- g_Instances.remove(( CIrcProto* )ppro);
+ g_Instances.remove((CIrcProto*)ppro);
delete ppro;
return 0;
}
-extern "C" int __declspec(dllexport) Load( )
+extern "C" int __declspec(dllexport) Load()
{
- mir_getLP( &pluginInfo );
+ mir_getLP(&pluginInfo);
InitIcons();
InitTimers();
@@ -100,8 +100,8 @@ extern "C" int __declspec(dllexport) Load( )
PROTOCOLDESCRIPTOR pd = { sizeof(pd) };
pd.szName = "IRC";
pd.type = PROTOTYPE_PROTOCOL;
- pd.fnInit = ( pfnInitProto )ircProtoInit;
- pd.fnUninit = ( pfnUninitProto )ircProtoUninit;
+ pd.fnInit = (pfnInitProto)ircProtoInit;
+ pd.fnUninit = (pfnUninitProto)ircProtoUninit;
CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
return 0;
}