summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown/src/watcher.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-04-24 21:52:13 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-04-24 21:52:13 +0000
commit712a95b62ed7ed6aef9ab078ccd4ac685f34b42c (patch)
tree748ea5e47f0abfb64de970d3b8993bfe2fb3acf2 /plugins/AutoShutdown/src/watcher.cpp
parent383d28b152438345e129963e6c1a40e8e4f04293 (diff)
AutoShutdown - common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13114 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AutoShutdown/src/watcher.cpp')
-rw-r--r--plugins/AutoShutdown/src/watcher.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/AutoShutdown/src/watcher.cpp b/plugins/AutoShutdown/src/watcher.cpp
index bce511ce8f..8efdf3a5c4 100644
--- a/plugins/AutoShutdown/src/watcher.cpp
+++ b/plugins/AutoShutdown/src/watcher.cpp
@@ -19,7 +19,7 @@ along with this program (Shutdown-License.txt); if not, write to the Free Softwa
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "common.h"
+#include "stdafx.h"
/* Msg Shutdown */
static HANDLE hHookEventAdded;
@@ -89,7 +89,7 @@ static TCHAR* GetMessageText(BYTE **ppBlob,DWORD *pcbBlob)
return (WCHAR*)buf;
}
-static int MsgEventAdded(WPARAM wParam,LPARAM hDbEvent)
+static int MsgEventAdded(WPARAM, LPARAM hDbEvent)
{
if (currentWatcherType & SDWTF_MESSAGE) {
DBEVENTINFO dbe = { sizeof(dbe) };
@@ -118,7 +118,7 @@ static int MsgEventAdded(WPARAM wParam,LPARAM hDbEvent)
static HANDLE *transfers;
static int nTransfersCount;
-static int ProtoAck(WPARAM wParam,LPARAM lParam)
+static int ProtoAck(WPARAM, LPARAM lParam)
{
ACKDATA *ack=(ACKDATA*)lParam;
if (ack->type != ACKTYPE_FILE)
@@ -244,7 +244,7 @@ static int WeatherUpdated(WPARAM wParam,LPARAM lParam)
/************************* Services ***********************************/
-INT_PTR ServiceStartWatcher(WPARAM wParam,LPARAM lParam)
+INT_PTR ServiceStartWatcher(WPARAM, LPARAM lParam)
{
/* passing watcherType as lParam is only to be used internally, undocumented */
if (lParam==0)