diff options
Diffstat (limited to 'protocols/Skype/src/skype_subclassing.cpp')
-rw-r--r-- | protocols/Skype/src/skype_subclassing.cpp | 14 |
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)); - }*/ + } }
} }; |