From 1440e9da7b83bb649aff90af3cdfe9433416c988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 20 Dec 2015 05:38:13 +0000 Subject: Steam: Implement searching by keywords Like by name or nickname, but it doesn't matter in which input user writes the text, it is searched as a whole combined string separated by spaces. git-svn-id: http://svn.miranda-ng.org/main/trunk@15908 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_proto.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocols/Steam/src/steam_proto.h') diff --git a/protocols/Steam/src/steam_proto.h b/protocols/Steam/src/steam_proto.h index f30c4aa90c..2784377976 100644 --- a/protocols/Steam/src/steam_proto.h +++ b/protocols/Steam/src/steam_proto.h @@ -52,6 +52,7 @@ public: virtual DWORD_PTR __cdecl GetCaps(int type, MCONTACT hContact = NULL); virtual HANDLE __cdecl SearchBasic(const TCHAR *id); + virtual HANDLE __cdecl SearchByName(const TCHAR* nick, const TCHAR* firstName, const TCHAR* lastName); virtual int __cdecl SendMsg(MCONTACT hContact, int flags, const char* msg); @@ -151,10 +152,8 @@ protected: void OnPendingApproved(const HttpResponse *response, void *arg); void OnPendingIgnoreded(const HttpResponse *response, void *arg); - void OnSearchByIdEnded(const HttpResponse *response, void *arg); - + void OnSearchResults(const HttpResponse *response, void *arg); void OnSearchByNameStarted(const HttpResponse *response, void *arg); - void OnSearchByNameFinished(const HttpResponse *response, void *arg); // messages int OnSendMessage(MCONTACT hContact, const char* message); -- cgit v1.2.3