diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-12-20 03:22:13 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-12-20 03:22:13 +0000 |
commit | 1705273c443d069c82fac78ad34d909513af519b (patch) | |
tree | 0ca1a5a0aa1977ca69afd09371985032da06b45e /protocols/Omegle/src/theme.cpp | |
parent | 1f70e7a998a41fa0c85b129eb4584d44c166036c (diff) |
Omegle: Various fixes and code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@11541 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle/src/theme.cpp')
-rw-r--r-- | protocols/Omegle/src/theme.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/protocols/Omegle/src/theme.cpp b/protocols/Omegle/src/theme.cpp index c9b41d93ec..bfc7389230 100644 --- a/protocols/Omegle/src/theme.cpp +++ b/protocols/Omegle/src/theme.cpp @@ -45,25 +45,3 @@ HANDLE GetIconHandle(const char* name) }
return 0;
}
-
-// Helper functions
-static OmegleProto * GetInstanceByHContact(MCONTACT hContact)
-{
- char *proto = GetContactProto(hContact);
- if (!proto)
- return 0;
-
- for(int i=0; i<g_Instances.getCount(); i++)
- if (!strcmp(proto,g_Instances[i].m_szModuleName))
- return &g_Instances[i];
-
- return 0;
-}
-
-template<int (__cdecl OmegleProto::*Fcn)(WPARAM,LPARAM)>
-INT_PTR GlobalService(WPARAM wParam,LPARAM lParam)
-{
- OmegleProto *proto = GetInstanceByHContact(reinterpret_cast<HANDLE>(wParam));
- return proto ? (proto->*Fcn)(wParam,lParam) : 0;
-}
-
|