diff options
Diffstat (limited to 'plugins/!Deprecated/Skype/src/skypekit/search.h')
-rw-r--r-- | plugins/!Deprecated/Skype/src/skypekit/search.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/!Deprecated/Skype/src/skypekit/search.h b/plugins/!Deprecated/Skype/src/skypekit/search.h new file mode 100644 index 0000000000..dde9a043e3 --- /dev/null +++ b/plugins/!Deprecated/Skype/src/skypekit/search.h @@ -0,0 +1,29 @@ +#pragma once
+
+#include "common.h"
+#include "contact.h"
+
+class CContactSearch : public ContactSearch
+{
+public:
+ typedef DRef<CContactSearch, ContactSearch> Ref;
+ typedef DRefs<CContactSearch, ContactSearch> Refs;
+
+ bool isSeachFinished;
+ bool isSeachFailed;
+
+ CContactSearch(unsigned int oid, CSkypeProto* _ppro);
+
+ void OnChange(int prop);
+ void OnNewResult(const ContactRef &contact, const uint &rankValue);
+
+ __forceinline void SetProtoInfo(HANDLE _hSearch) {
+ hSearch = _hSearch;
+ }
+
+ void BlockWhileSearch();
+
+private:
+ HANDLE hSearch;
+ CSkypeProto* proto;
+};
\ No newline at end of file |