From 1d14eafc4f0cf923e5bc835ae5c09c4b75c76b85 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 25 Apr 2015 18:51:08 +0000 Subject: ContactsPlus - common project git-svn-id: http://svn.miranda-ng.org/main/trunk@13146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ContactsPlus/src/main.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/ContactsPlus/src/main.cpp') diff --git a/plugins/ContactsPlus/src/main.cpp b/plugins/ContactsPlus/src/main.cpp index a34c8ed315..77a50dc048 100644 --- a/plugins/ContactsPlus/src/main.cpp +++ b/plugins/ContactsPlus/src/main.cpp @@ -21,7 +21,7 @@ // // ----------------------------------------------------------------------------- -#include "contacts.h" +#include "stdafx.h" CLIST_INTERFACE *pcli; @@ -51,7 +51,7 @@ PLUGININFOEX pluginInfo = { { 0x0324785E, 0x74CE, 0x4600, { 0xB7, 0x81, 0x85, 0x17, 0x73, 0xB3, 0xEF, 0xC5 } } }; -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID) { hInst = hinstDLL; return TRUE; @@ -111,7 +111,7 @@ static bool CheckContactsServiceSupport(const char* szProto) return false; } -static int HookPreBuildContactMenu(WPARAM hContact, LPARAM lParam) +static int HookPreBuildContactMenu(WPARAM hContact, LPARAM) { char *szProto = GetContactProto(hContact); int bVisible = FALSE; @@ -128,7 +128,7 @@ static int HookPreBuildContactMenu(WPARAM hContact, LPARAM lParam) return 0; } -static int HookModulesLoaded(WPARAM wParam, LPARAM lParam) +static int HookModulesLoaded(WPARAM, LPARAM) { char* modules[2] = { 0 }; @@ -160,7 +160,7 @@ static int HookContactSettingChanged(WPARAM hContact, LPARAM lParam) return 0; } -static int HookContactDeleted(WPARAM wParam, LPARAM lParam) +static int HookContactDeleted(WPARAM wParam, LPARAM) { // if our contact gets deleted close his window HWND h = WindowList_Find(ghSendWindowList, wParam); @@ -173,7 +173,7 @@ static int HookContactDeleted(WPARAM wParam, LPARAM lParam) return 0; } -static INT_PTR ServiceSendCommand(WPARAM wParam, LPARAM lParam) +static INT_PTR ServiceSendCommand(WPARAM wParam, LPARAM) { //find window for hContact HWND hWnd = WindowList_Find(ghSendWindowList, wParam); @@ -186,13 +186,13 @@ static INT_PTR ServiceSendCommand(WPARAM wParam, LPARAM lParam) return 0; } -static INT_PTR ServiceReceiveCommand(WPARAM wParam, LPARAM lParam) +static INT_PTR ServiceReceiveCommand(WPARAM, LPARAM lParam) { CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_RECEIVE), NULL, RecvDlgProc, lParam); return 0; } -extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) +extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) { return &pluginInfo; } -- cgit v1.2.3