From 7e049d92bb13e8b6c67bc0c0c460c0c145545172 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 30 Apr 2015 19:12:21 +0000 Subject: unified project for Omegle protocol git-svn-id: http://svn.miranda-ng.org/main/trunk@13309 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Omegle/src/proto.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'protocols/Omegle/src/proto.cpp') diff --git a/protocols/Omegle/src/proto.cpp b/protocols/Omegle/src/proto.cpp index ba156b0de6..d0ac1b3370 100644 --- a/protocols/Omegle/src/proto.cpp +++ b/protocols/Omegle/src/proto.cpp @@ -20,7 +20,7 @@ along with this program. If not, see . */ -#include "common.h" +#include "stdafx.h" OmegleProto::OmegleProto(const char* proto_name, const TCHAR* username) : PROTO(proto_name, username) @@ -78,7 +78,7 @@ OmegleProto::~OmegleProto( ) ////////////////////////////////////////////////////////////////////////////// -DWORD_PTR OmegleProto::GetCaps( int type, MCONTACT hContact ) +DWORD_PTR OmegleProto::GetCaps(int type, MCONTACT) { switch(type) { case PFLAGNUM_1: @@ -160,13 +160,13 @@ int OmegleProto::OnEvent(PROTOEVENTTYPE event,WPARAM wParam,LPARAM lParam) ////////////////////////////////////////////////////////////////////////////// // EVENTS -INT_PTR OmegleProto::SvcCreateAccMgrUI(WPARAM wParam,LPARAM lParam) +INT_PTR OmegleProto::SvcCreateAccMgrUI(WPARAM, LPARAM lParam) { return (INT_PTR)CreateDialogParam(g_hInstance,MAKEINTRESOURCE(IDD_OmegleACCOUNT), - (HWND)lParam, OmegleAccountProc, (LPARAM)this ); + (HWND)lParam, OmegleAccountProc, (LPARAM)this); } -int OmegleProto::OnModulesLoaded(WPARAM wParam,LPARAM lParam) +int OmegleProto::OnModulesLoaded(WPARAM, LPARAM) { // Register group chat GCREGISTER gcr = {sizeof(gcr)}; @@ -181,7 +181,7 @@ int OmegleProto::OnModulesLoaded(WPARAM wParam,LPARAM lParam) return 0; } -int OmegleProto::OnOptionsInit(WPARAM wParam,LPARAM lParam) +int OmegleProto::OnOptionsInit(WPARAM wParam, LPARAM) { OPTIONSDIALOGPAGE odp = { 0 }; odp.hInstance = g_hInstance; @@ -198,13 +198,13 @@ int OmegleProto::OnOptionsInit(WPARAM wParam,LPARAM lParam) return 0; } -int OmegleProto::OnPreShutdown(WPARAM wParam,LPARAM lParam) +int OmegleProto::OnPreShutdown(WPARAM, LPARAM) { SetStatus( ID_STATUS_OFFLINE ); return 0; } -int OmegleProto::OnContactDeleted(WPARAM wparam,LPARAM) +int OmegleProto::OnContactDeleted(WPARAM, LPARAM) { OnLeaveChat(NULL, NULL); return 0; -- cgit v1.2.3