diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-15 09:52:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-15 09:52:58 +0000 |
commit | 913eb113dd70d059037424bfc6cf231dee896ac3 (patch) | |
tree | 077211c9dbf53b821259170cab683b33debd4323 /protocols/Skype/src/skypekit/search.cpp | |
parent | 02fa05ac26b620ebf5a761f8f7b4244e54309607 (diff) |
code cleaning & standardization
git-svn-id: http://svn.miranda-ng.org/main/trunk@4952 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skypekit/search.cpp')
-rw-r--r-- | protocols/Skype/src/skypekit/search.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/protocols/Skype/src/skypekit/search.cpp b/protocols/Skype/src/skypekit/search.cpp index f6f035a3a1..f1b20563aa 100644 --- a/protocols/Skype/src/skypekit/search.cpp +++ b/protocols/Skype/src/skypekit/search.cpp @@ -1,9 +1,10 @@ #include "..\skype.h"
#include "search.h"
-CContactSearch::CContactSearch(unsigned int oid, SERootObject* root) : ContactSearch(oid, root)
+CContactSearch::CContactSearch(unsigned int oid, CSkypeProto* _ppro) :
+ ContactSearch(oid, _ppro),
+ proto(_ppro)
{
- this->proto = NULL;
}
void CContactSearch::OnChange(int prop)
@@ -23,8 +24,7 @@ void CContactSearch::OnChange(int prop) void CContactSearch::OnNewResult(const ContactRef &contact, const uint &rankValue)
{
- if (this->proto)
- proto->OnContactFinded(contact, this->hSearch);
+ proto->OnContactFinded(contact, this->hSearch);
}
void CContactSearch::BlockWhileSearch()
@@ -34,9 +34,3 @@ void CContactSearch::BlockWhileSearch() while (!this->isSeachFinished && !this->isSeachFailed)
Sleep(1);
}
-
-void CContactSearch::SetProtoInfo(CSkypeProto* proto, HANDLE hSearch)
-{
- this->proto = proto;
- this->hSearch = hSearch;
-}
|