From f82091b2af907fb1d120c305da75c57b09cb0e7b Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 5 Sep 2014 12:08:52 +0000 Subject: SkypeKit based Skype plugin is moved to deprecated and will be deleted from Plugins folder by PluginUpdater git-svn-id: http://svn.miranda-ng.org/main/trunk@10372 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skypekit/account.cpp | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 protocols/Skype/src/skypekit/account.cpp (limited to 'protocols/Skype/src/skypekit/account.cpp') diff --git a/protocols/Skype/src/skypekit/account.cpp b/protocols/Skype/src/skypekit/account.cpp deleted file mode 100644 index 8ec02e08e8..0000000000 --- a/protocols/Skype/src/skypekit/account.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include "..\skype.h" -#include "account.h" - -CAccount::CAccount(unsigned int oid, CSkypeProto* _ppro) : - Account(oid, _ppro), - ppro(_ppro) -{ -} - -bool CAccount::IsOnline() -{ - CAccount::STATUS status; - this->GetPropStatus(status); - return status == CAccount::LOGGED_IN; -} - -bool CAccount::SetAvatar(SEBinary avatar, Skype::VALIDATERESULT &result) -{ - int fbl; - if (!((Skype*)this->root)->ValidateAvatar(avatar, result, fbl) || result != Skype::VALIDATED_OK) - return false; - - if (!this->SetBinProperty(Account::P_AVATAR_IMAGE, avatar)) - return false; - - return true; -} - -void CAccount::OnChange(int prop) -{ - ppro->OnAccountChanged(prop); -} \ No newline at end of file -- cgit v1.2.3