From 690f5e6d29d1c85c4be72638eb22843964c2f512 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 24 Apr 2015 08:21:28 +0000 Subject: All non-working stuff moved from trunk git-svn-id: http://svn.miranda-ng.org/main/trunk@13071 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/!Deprecated/Skype/src/skypekit/account.cpp | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 plugins/!Deprecated/Skype/src/skypekit/account.cpp (limited to 'plugins/!Deprecated/Skype/src/skypekit/account.cpp') diff --git a/plugins/!Deprecated/Skype/src/skypekit/account.cpp b/plugins/!Deprecated/Skype/src/skypekit/account.cpp deleted file mode 100644 index 8ec02e08e8..0000000000 --- a/plugins/!Deprecated/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