diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-10-13 14:38:12 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-10-13 14:38:12 +0000 |
commit | 85683af6f692614dec3c5741811cee3d2565f999 (patch) | |
tree | 640f3103205f68ed6e3dc7be7909b062d31e2f7a /protocols/Skype/src/skype_proto.h | |
parent | 6b30f907de8ee2dd3bb8eedd5bee89ad84740765 (diff) |
- reworked signIn(Thread) function
- fixed password request logic
git-svn-id: http://svn.miranda-ng.org/main/trunk@1907 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r-- | protocols/Skype/src/skype_proto.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index ea8d7129e0..f9f1a24a1a 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -108,13 +108,13 @@ protected: CContactGroup::Ref commonList;
CContactGroup::Ref authWaitList;
- TCHAR* login;
- TCHAR* password;
+ wchar_t *login;
+ wchar_t *password;
bool rememberPassword;
void RequestPassword();
HANDLE signin_lock;
- void SignIn();
+ bool SignIn(bool isReadPassword = true);
void __cdecl SignInThread(void*);
bool IsOnline();
@@ -159,6 +159,8 @@ protected: wchar_t* GetAvatarFilePath(wchar_t* skypeName);
+ int SkypeToMirandaLoginError(CAccount::LOGOUTREASON logoutReason);
+
// instances
static LIST<CSkypeProto> instanceList;
static int CompareProtos(const CSkypeProto *p1, const CSkypeProto *p2);
|