diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2015-07-26 10:29:35 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2015-07-26 10:29:35 +0000 |
commit | b51c00fa7ee7a159b71186d818da4da1e5b34450 (patch) | |
tree | 591c4f7ca8d2521e483337ada865c866b33533ec /plugins/Nudge/src/main.cpp | |
parent | 2e29576b70d2549c02bd7bf356644e1234e483b6 (diff) |
Nudge: common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@14712 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Nudge/src/main.cpp')
-rw-r--r-- | plugins/Nudge/src/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Nudge/src/main.cpp b/plugins/Nudge/src/main.cpp index 614da4686b..53fc784290 100644 --- a/plugins/Nudge/src/main.cpp +++ b/plugins/Nudge/src/main.cpp @@ -1,4 +1,4 @@ -#include "headers.h"
+#include "stdafx.h"
int nProtocol = 0;
static HANDLE hPopupClass;
@@ -194,13 +194,13 @@ int NudgeReceived(WPARAM hContact, LPARAM lParam) return 0;
}
-extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID)
{
hInst = hinstDLL;
return TRUE;
}
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
return &pluginInfo;
}
@@ -246,7 +246,7 @@ static int TabsrmmButtonPressed(WPARAM wParam, LPARAM lParam) return 0;
}
-static int TabsrmmButtonInit(WPARAM wParam, LPARAM lParam)
+static int TabsrmmButtonInit(WPARAM, LPARAM)
{
BBButton bbd = { sizeof(bbd) };
bbd.pszModuleName = "Nudge";
@@ -441,7 +441,7 @@ int Preview() return 0;
}
-void Nudge_ShowPopup(CNudgeElement *n, MCONTACT hContact, TCHAR * Message)
+void Nudge_ShowPopup(CNudgeElement*, MCONTACT hContact, TCHAR * Message)
{
hContact = db_mc_tryMeta(hContact);
TCHAR *lpzContactName = (TCHAR*)pcli->pfnGetContactDisplayName(hContact, 0);
|