From 89b5feca3ec270bf1312b108810f95cafa3b6be1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 6 Sep 2012 14:02:16 +0000 Subject: cosmetic fix for the parameter name git-svn-id: http://svn.miranda-ng.org/main/trunk@1538 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Gadu-Gadu/gg_proto.cpp | 7 +++---- protocols/Gadu-Gadu/gg_proto.h | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'protocols/Gadu-Gadu') diff --git a/protocols/Gadu-Gadu/gg_proto.cpp b/protocols/Gadu-Gadu/gg_proto.cpp index 9eade571d3..5342193547 100644 --- a/protocols/Gadu-Gadu/gg_proto.cpp +++ b/protocols/Gadu-Gadu/gg_proto.cpp @@ -125,8 +125,8 @@ GGPROTO::~GGPROTO() // Dummies for function that have to be implemented HANDLE GGPROTO::AddToListByEvent(int flags, int iContact, HANDLE hDbEvent) { return NULL; } -int GGPROTO::Authorize(HANDLE hContact) { return 0; } -int GGPROTO::AuthDeny(HANDLE hContact, const TCHAR *szReason) { return 0; } +int GGPROTO::Authorize(HANDLE hDbEvent) { return 0; } +int GGPROTO::AuthDeny(HANDLE hDbEvent, const TCHAR *szReason) { return 0; } int GGPROTO::AuthRecv(HANDLE hContact, PROTORECVEVENT *pre) { return 0; } int GGPROTO::AuthRequest(HANDLE hContact, const TCHAR *szMessage) { return 0; } HANDLE GGPROTO::ChangeInfo(int iInfoType, void *pInfoData) { return NULL; } @@ -535,7 +535,7 @@ static INT_PTR CALLBACK gg_advancedsearchdlgproc(HWND hwndDlg,UINT message,WPARA SendDlgItemMessage(hwndDlg, IDC_GENDER, CB_ADDSTRING, 0, (LPARAM)TranslateT("Female")); // 1 SendDlgItemMessage(hwndDlg, IDC_GENDER, CB_ADDSTRING, 0, (LPARAM)TranslateT("Male")); // 2 return TRUE; - + case WM_COMMAND: switch(LOWORD(wParam)) { case IDOK: @@ -803,4 +803,3 @@ int GGPROTO::OnEvent(PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM lParam) } return TRUE; } - diff --git a/protocols/Gadu-Gadu/gg_proto.h b/protocols/Gadu-Gadu/gg_proto.h index 4d1e1d6fd8..8765392328 100644 --- a/protocols/Gadu-Gadu/gg_proto.h +++ b/protocols/Gadu-Gadu/gg_proto.h @@ -39,8 +39,8 @@ struct GGPROTO : public PROTO_INTERFACE, public MZeroedObject virtual HANDLE __cdecl AddToList( int flags, PROTOSEARCHRESULT* psr ); virtual HANDLE __cdecl AddToListByEvent( int flags, int iContact, HANDLE hDbEvent ); - virtual int __cdecl Authorize( HANDLE hContact ); - virtual int __cdecl AuthDeny( HANDLE hContact, const TCHAR* szReason ); + virtual int __cdecl Authorize( HANDLE hDbEvent ); + virtual int __cdecl AuthDeny( HANDLE hDbEvent, const TCHAR* szReason ); virtual int __cdecl AuthRecv( HANDLE hContact, PROTORECVEVENT* ); virtual int __cdecl AuthRequest( HANDLE hContact, const TCHAR* szMessage ); -- cgit v1.2.3