diff options
author | George Hazan <george.hazan@gmail.com> | 2012-12-09 20:56:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-12-09 20:56:06 +0000 |
commit | 9191a0aefc5213a44bb2f6fbffd732771b4e0264 (patch) | |
tree | 43a98f22f87a2b0f9039a3a5a5fdad43c3ab6dc6 /protocols/Skype/src/skype_proto.h | |
parent | f3aa4bd3f0283c8a0421fb82b6bdc17ea73f7454 (diff) |
- added 64 bit config;
- password storage fixed;
- bunch of crash fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@2708 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r-- | protocols/Skype/src/skype_proto.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index 0d3f2669ad..4de33f6dcc 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -125,7 +125,7 @@ public: int __cdecl OnContactDeleted(WPARAM, LPARAM);
int __cdecl OnOptionsInit(WPARAM, LPARAM);
int __cdecl OnUserInfoInit(WPARAM, LPARAM);
- int __cdecl OnAccountManagerInit(WPARAM wParam, LPARAM lParam);
+ INT_PTR __cdecl OnAccountManagerInit(WPARAM wParam, LPARAM lParam);
// instances
static CSkypeProto* InitSkypeProto(const char* protoName, const wchar_t* userName);
@@ -154,7 +154,7 @@ protected: CContactGroup::Ref authWaitList;
wchar_t *login;
- wchar_t *password;
+ char *password;
bool rememberPassword;
void RequestPassword();
@@ -275,10 +275,10 @@ protected: // services
static LIST<void> serviceList;
- int __cdecl GetAvatarInfo(WPARAM, LPARAM);
- int __cdecl GetAvatarCaps(WPARAM, LPARAM);
- int __cdecl GetMyAvatar(WPARAM, LPARAM);
- int __cdecl SetMyAvatar(WPARAM, LPARAM);
+ INT_PTR __cdecl GetAvatarInfo(WPARAM, LPARAM);
+ INT_PTR __cdecl GetAvatarCaps(WPARAM, LPARAM);
+ INT_PTR __cdecl GetMyAvatar(WPARAM, LPARAM);
+ INT_PTR __cdecl SetMyAvatar(WPARAM, LPARAM);
// icons
static _tag_iconList iconList[];
@@ -316,8 +316,7 @@ protected: DWORD GetSettingDword(HANDLE hContact, const char *setting, DWORD errorValue = 0);
wchar_t* GetSettingString(const char *setting, wchar_t* errorValue = NULL);
wchar_t* GetSettingString(HANDLE hContact, const char *setting, wchar_t* errorValue = NULL);
- wchar_t* GetDecodeSettingString(const char *setting, wchar_t* errorValue = NULL);
- wchar_t* GetDecodeSettingString(HANDLE hContact, const char *setting, wchar_t* errorValue = NULL);
+ char* GetDecodeSettingString(HANDLE hContact, const char *setting, char* errorValue = NULL);
//
bool SetSettingByte(const char *setting, BYTE value);
bool SetSettingByte(HANDLE hContact, const char *setting, BYTE value);
@@ -327,8 +326,7 @@ protected: bool SetSettingDword(HANDLE hContact, const char *setting, DWORD value);
bool SetSettingString(const char *setting, const wchar_t* value);
bool SetSettingString(HANDLE hContact, const char *setting, const wchar_t* value);
- bool SetDecodeSettingString(const char *setting, const wchar_t* value);
- bool SetDecodeSettingString(HANDLE hContact, const char *setting, const wchar_t* value);
+ bool SetDecodeSettingString(HANDLE hContact, const char *setting, const char* value);
//
void DeleteSetting(const char *setting);
void DeleteSetting(HANDLE hContact, const char *setting);
|