summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_proto.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-12-20 05:38:13 +0000
committerRobert Pösel <robyer@seznam.cz>2015-12-20 05:38:13 +0000
commit1440e9da7b83bb649aff90af3cdfe9433416c988 (patch)
tree631b1ead3df9f2f793ef65b4ac199b42640c35be /protocols/Steam/src/steam_proto.h
parent3973fc0ef6292ab81d193a927f1e4cea4e447dfd (diff)
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
Diffstat (limited to 'protocols/Steam/src/steam_proto.h')
-rw-r--r--protocols/Steam/src/steam_proto.h5
1 files changed, 2 insertions, 3 deletions
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);