diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-04-10 16:45:33 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-04-10 16:45:33 +0300 |
| commit | 35d5b1cc47ac444524c087615033d5856f8a5dc3 (patch) | |
| tree | ea04d67f9254db682e5418ccad43bad873068ea9 /protocols/SkypeWeb/src | |
| parent | a5e4a0de5bfa544de0e77ce3bf5443386530d43f (diff) | |
no need to declare the same template in each protocol
Diffstat (limited to 'protocols/SkypeWeb/src')
| -rw-r--r-- | protocols/SkypeWeb/src/skype_proto.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h index e81c733f31..d6528c20d4 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -35,7 +35,7 @@ struct CSkypeTransfer int iFileSize = 0, iWidth = -1, iHeight = -1;
};
-struct CSkypeProto : public PROTO <CSkypeProto>
+struct CSkypeProto : public PROTO<CSkypeProto>
{
friend class CSkypeOptionsMain;
friend class CSkypeGCCreateDlg;
@@ -359,13 +359,6 @@ private: INT_PTR __cdecl SvcCreateChat(WPARAM, LPARAM);
INT_PTR __cdecl SvcSetMood(WPARAM, LPARAM);
INT_PTR __cdecl ParseSkypeUriService(WPARAM, LPARAM lParam);
-
- template<INT_PTR(__cdecl CSkypeProto::*Service)(WPARAM, LPARAM)>
- static INT_PTR __cdecl GlobalService(WPARAM wParam, LPARAM lParam)
- {
- CSkypeProto *proto = CMPlugin::getInstance((MCONTACT)wParam);
- return proto ? (proto->*Service)(wParam, lParam) : 0;
- }
};
typedef CProtoDlgBase<CSkypeProto> CSkypeDlgBase;
|
