summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_subclassing.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2012-09-27 19:03:00 +0000
committerAlexander Lantsev <aunsane@gmail.com>2012-09-27 19:03:00 +0000
commit1a0b04b27c21311555f39d6a9cebd3b43d5615b8 (patch)
treeba66f2aa23817b1f3d022e6072a30753ef715a8a /protocols/Skype/src/skype_subclassing.cpp
parentb7c28fdb246c00973120ab87edf754de925d3330 (diff)
- full worked skype login
- some minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@1689 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_subclassing.cpp')
-rw-r--r--protocols/Skype/src/skype_subclassing.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/Skype/src/skype_subclassing.cpp b/protocols/Skype/src/skype_subclassing.cpp
index 04b4a82b74..115d6e044b 100644
--- a/protocols/Skype/src/skype_subclassing.cpp
+++ b/protocols/Skype/src/skype_subclassing.cpp
@@ -12,22 +12,22 @@ CAccount::CAccount(unsigned int oid, SERootObject* root) : Account(oid, root)
void CAccount::OnChange(int prop)
{
- if (prop == Account::P_STATUS)
+ if (prop == CAccount::P_STATUS)
{
- Account::STATUS loginStatus;
+ CAccount::STATUS loginStatus;
this->GetPropStatus(loginStatus);
- if (loginStatus == Account::LOGGED_IN)
+ if (loginStatus == CAccount::STATUS::LOGGED_IN)
this->isLoggedOut = false;
- if (loginStatus == Account::LOGGED_OUT)
+ if (loginStatus == CAccount::STATUS::LOGGED_OUT)
{
this->isLoggedOut = true;
- Account::LOGOUTREASON whyLogout;
+ CAccount::LOGOUTREASON whyLogout;
this->GetPropLogoutreason(whyLogout);
- /*if (whyLogout != Account::LOGOUT_CALLED)
+ if (whyLogout != Account::LOGOUT_CALLED)
{
printf("%s\n", (const char*)tostring(whyLogout));
- }*/
+ }
}
}
};