diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-06 14:02:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-06 14:02:16 +0000 |
commit | 89b5feca3ec270bf1312b108810f95cafa3b6be1 (patch) | |
tree | eb05a74f31ab1696c49dd91dcb0236543391c116 /protocols/Gadu-Gadu | |
parent | 5e64b724fd1b4b889f78c29d1583c886d4fbd818 (diff) |
cosmetic fix for the parameter name
git-svn-id: http://svn.miranda-ng.org/main/trunk@1538 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu')
-rw-r--r-- | protocols/Gadu-Gadu/gg_proto.cpp | 7 | ||||
-rw-r--r-- | protocols/Gadu-Gadu/gg_proto.h | 4 |
2 files changed, 5 insertions, 6 deletions
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 );
|