summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-10-07 04:59:17 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-10-07 04:59:17 +0000
commit74a853fd31f1fd7356fb3fd041b5e6722ab80eed (patch)
treec6a40c16bb06d494160ae3ef6e9c10325ca6a7aa /protocols/VKontakte/src/vk_proto.cpp
parent00714f1a92044866135cd75e599ff3fac75fe33f (diff)
VKontakte:
move search proto function to vk_search.cpp move TFakeAckParams to vk_proto.h git-svn-id: http://svn.miranda-ng.org/main/trunk@10723 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index 830e1f6cb1..dfe178f683 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -317,16 +317,6 @@ int CVkProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT *pre)
//////////////////////////////////////////////////////////////////////////////
-struct TFakeAckParams
-{
- __inline TFakeAckParams(MCONTACT _hContact, int _msgid) :
- hContact(_hContact), msgid(_msgid)
- {}
-
- MCONTACT hContact;
- int msgid;
-};
-
void CVkProto::SendMsgAck(void *param)
{
TFakeAckParams *ack = (TFakeAckParams*)param;
@@ -446,29 +436,6 @@ int CVkProto::OnEvent(PROTOEVENTTYPE event, WPARAM wParam, LPARAM lParam)
}
//////////////////////////////////////////////////////////////////////////////
-HANDLE CVkProto::SearchBasic(const PROTOCHAR* id)
-{
- ForkThread(&CVkProto::SearchBasicThread, (void *) id);
- return (HANDLE)1;
-}
-
-HANDLE CVkProto::SearchByEmail(const PROTOCHAR* email)
-{
- ForkThread(&CVkProto::SearchByMailThread, (void *)email);
- return (HANDLE)1;
-}
-
-HANDLE CVkProto::SearchByName(const PROTOCHAR* nick, const PROTOCHAR* firstName, const PROTOCHAR* lastName)
-{
- PROTOSEARCHBYNAME * psr = new (PROTOSEARCHBYNAME);
-
- psr->pszFirstName = mir_wstrdup(firstName);
- psr->pszLastName = mir_wstrdup(lastName);
- psr->pszNick = mir_wstrdup(nick);
-
- ForkThread(&CVkProto::SearchThread, (void *)psr);
- return (HANDLE)1;
-}
MCONTACT CVkProto::AddToList(int flags, PROTOSEARCHRESULT* psr)
{
@@ -596,16 +563,6 @@ int CVkProto::GetInfo(MCONTACT hContact, int infoType)
return 0;
}
-HWND CVkProto::SearchAdvanced(HWND owner)
-{
- return NULL;
-}
-
-HWND CVkProto::CreateExtendedSearchUI(HWND owner)
-{
- return NULL;
-}
-
int CVkProto::RecvContacts(MCONTACT hContact,PROTORECVEVENT *)
{
return 1;