diff options
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;
-}
|