summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/src/AvatarHistory.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-04-24 23:07:58 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-04-24 23:07:58 +0000
commit4294963c06cca6c22fe273a8e3366ec4159ab76c (patch)
tree8140eaeab3fdb04cd512a5046ed74de171fbf3a3 /plugins/AvatarHistory/src/AvatarHistory.cpp
parent8f3240800df19a4ad1025768f4c595ab49bb898f (diff)
AvatarHistory - common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13119 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AvatarHistory/src/AvatarHistory.cpp')
-rw-r--r--plugins/AvatarHistory/src/AvatarHistory.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/AvatarHistory/src/AvatarHistory.cpp b/plugins/AvatarHistory/src/AvatarHistory.cpp
index 1f98aa149a..5280fc2064 100644
--- a/plugins/AvatarHistory/src/AvatarHistory.cpp
+++ b/plugins/AvatarHistory/src/AvatarHistory.cpp
@@ -21,7 +21,7 @@ Avatar History Plugin
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include "AvatarHistory.h"
+#include "stdafx.h"
HINSTANCE hInst;
@@ -56,14 +56,14 @@ PLUGININFOEX pluginInfo = {
{0xdbe8c990, 0x7aa0, 0x458d, {0xba, 0xb7, 0x33, 0xeb, 0x7, 0x23, 0x8e, 0x71}}
};
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
return &pluginInfo;
}
/////////////////////////////////////////////////////////////////////////////////////////
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID)
{
hInst = hinstDLL;
return TRUE;
@@ -81,7 +81,7 @@ static INT_PTR GetCachedAvatar(WPARAM wParam, LPARAM lParam)
return (INT_PTR)GetCachedAvatar((char*)wParam, hash);
}
-static INT_PTR IsEnabled(WPARAM wParam, LPARAM lParam)
+static INT_PTR IsEnabled(WPARAM wParam, LPARAM)
{
MCONTACT hContact = (MCONTACT) wParam;
return ContactEnabled(hContact, "LogToDisk", AVH_DEF_LOGTODISK)
@@ -227,13 +227,13 @@ static int AvatarChanged(WPARAM hContact, LPARAM lParam)
return 0;
}
-static int PreShutdown(WPARAM wParam, LPARAM lParam)
+static int PreShutdown(WPARAM, LPARAM)
{
WindowList_Broadcast(hAvatarWindowsList,WM_CLOSE,0,0);
return 0;
}
-static int ModulesLoaded(WPARAM wParam, LPARAM lParam)
+static int ModulesLoaded(WPARAM, LPARAM)
{
mir_sntprintf(basedir, SIZEOF(basedir), _T("%s\\Avatars History"), profilePath);
@@ -248,7 +248,7 @@ static int ModulesLoaded(WPARAM wParam, LPARAM lParam)
/////////////////////////////////////////////////////////////////////////////////////////
-static INT_PTR CALLBACK FirstRunDlgProc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam)
+static INT_PTR CALLBACK FirstRunDlgProc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM)
{
switch(uMsg) {
case WM_INITDIALOG: