summaryrefslogtreecommitdiff
path: root/protocols/MRA/Mra.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-05-22 15:33:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-05-22 15:33:45 +0000
commita3e4731995ea87775764f644499c709344c75fef (patch)
treeb957b83654aa94daf63030c853e74e2459af15e3 /protocols/MRA/Mra.cpp
parent324c182bb9772dec5ed4191b9407b74ddf031c15 (diff)
source code refreshment
git-svn-id: http://svn.miranda-ng.org/main/trunk@130 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/Mra.cpp')
-rw-r--r--protocols/MRA/Mra.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/MRA/Mra.cpp b/protocols/MRA/Mra.cpp
index 3d8cea3744..69a8a6574a 100644
--- a/protocols/MRA/Mra.cpp
+++ b/protocols/MRA/Mra.cpp
@@ -409,7 +409,7 @@ PLUGININFOEX pluginInfoEx={
sizeof(PLUGININFOEX),
PROTOCOL_DISPLAY_NAME_ORIGA,
PLUGIN_VERSION_DWORD,
- "Provides support for Mail.ru agent Instant Messenger protocol.",
+ "Provides support for Mail.ru agent Instant Messenger protocol ("__DATE__" "__TIME__")",
"Rozhuk Ivan",
"Rozhuk_I@mail.ru",
"© 2006-2011 Rozhuk Ivan",
@@ -436,7 +436,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance,DWORD dwReason,LPVOID Reserved)
{
switch(dwReason){
case DLL_PROCESS_ATTACH:
- memset(&masMraSettings, 0, sizeof(masMraSettings));
+ bzero(&masMraSettings,sizeof(masMraSettings));
masMraSettings.hInstance=hInstance;
masMraSettings.hHeap=HeapCreate(0,0,0);//GetProcessHeap();
masMraSettings.bLoggedIn=FALSE;
@@ -504,23 +504,23 @@ return(TRUE);
}
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" MRA_API PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
if (mirandaVersion<MIN_MIR_VER_VERSION_DWORD)
{
- MessageBox(NULL, TranslateT("Pleace, update your Miranda IM, MRA will not load with this version."), NULL, (MB_OK|MB_ICONERROR));
+ MessageBox(NULL, TranslateT("Please, update your Miranda IM, MRA will not load with this version."), NULL, (MB_OK|MB_ICONERROR));
return(NULL);
}
return(&pluginInfoEx);
}
-extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces()
+extern "C" MRA_API const MUUID* MirandaPluginInterfaces()
{
return(interfaces);
}
-extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
+extern "C" MRA_API int Load(PLUGINLINK *link)
{
SIZE_T dwBuffLen;
WCHAR szBuff[MAX_FILEPATH];
@@ -665,7 +665,7 @@ return(0);
}
-extern "C" __declspec(dllexport) int Unload(void)
+extern "C" MRA_API int Unload(void)
{
UnloadServices();
//if (hHookOnUserInfoInit) UnhookEvent(hHookOnUserInfoInit);