summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-04-10 06:32:35 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-04-10 06:32:35 +0000
commit42f650093d1e855ef0ddbbc7dd5fd6f85e5f7279 (patch)
tree7317bba8ed61ec208297045f536306c0d8f2005e /protocols/SkypeWeb/src/skype_proto.cpp
parent6b09aaa679a7263da7ed4ba7954f537e5c339d77 (diff)
skype search 1st attempt
git-svn-id: http://svn.miranda-ng.org/main/trunk@12722 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.cpp21
1 files changed, 18 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index 4e3111ab2c..22756822da 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -1,3 +1,20 @@
+/*
+Copyright (c) 2015 Miranda NG project (http://miranda-ng.org)
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation version 2
+of the License.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "common.h"
CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName) :
@@ -49,7 +66,7 @@ DWORD_PTR CSkypeProto::GetCaps(int type, MCONTACT)
switch (type)
{
case PFLAGNUM_1:
- return PF1_IM | PF1_AUTHREQ | PF1_CHAT;
+ return PF1_IM | PF1_AUTHREQ | PF1_CHAT | PF1_BASICSEARCH;
case PFLAGNUM_2:
return PF2_ONLINE | PF2_INVISIBLE | PF2_SHORTAWAY | PF2_HEAVYDND;
case PFLAGNUM_3:
@@ -112,8 +129,6 @@ int CSkypeProto::FileResume(HANDLE hTransfer, int* action, const PROTOCHAR** tsz
int CSkypeProto::GetInfo(MCONTACT, int) { return 0; }
-HANDLE CSkypeProto::SearchBasic(const PROTOCHAR*) { return 0; }
-
HANDLE CSkypeProto::SearchByEmail(const PROTOCHAR*) { return 0; }
HANDLE CSkypeProto::SearchByName(const PROTOCHAR*, const PROTOCHAR*, const PROTOCHAR*) { return 0; }