summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_settings.cpp')
-rw-r--r--protocols/Skype/src/skype_settings.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/Skype/src/skype_settings.cpp b/protocols/Skype/src/skype_settings.cpp
index 188274ae3c..e183e70fff 100644
--- a/protocols/Skype/src/skype_settings.cpp
+++ b/protocols/Skype/src/skype_settings.cpp
@@ -30,7 +30,7 @@ DWORD CSkypeProto::GetSettingDword(const char *setting, DWORD errorValue)
return this->GetSettingDword(NULL, setting, errorValue);
}
-TCHAR* CSkypeProto::GetSettingString(HANDLE hContact, const char *setting, TCHAR* errorValue)
+wchar_t* CSkypeProto::GetSettingString(HANDLE hContact, const char *setting, wchar_t* errorValue)
{
DBVARIANT dbv;
TCHAR* result = NULL;
@@ -44,12 +44,12 @@ TCHAR* CSkypeProto::GetSettingString(HANDLE hContact, const char *setting, TCHAR
return result != NULL ? result : errorValue;
}
-TCHAR* CSkypeProto::GetSettingString(const char *setting, TCHAR* errorValue)
+wchar_t* CSkypeProto::GetSettingString(const char *setting, wchar_t* errorValue)
{
return this->GetSettingString(NULL, setting, errorValue);
}
-TCHAR* CSkypeProto::GetDecodeSettingString(HANDLE hContact, const char *setting, TCHAR* errorValue)
+wchar_t* CSkypeProto::GetDecodeSettingString(HANDLE hContact, const char *setting, wchar_t* errorValue)
{
TCHAR* result = this->GetSettingString(hContact, setting, errorValue);
@@ -61,7 +61,7 @@ TCHAR* CSkypeProto::GetDecodeSettingString(HANDLE hContact, const char *setting,
return result;
}
-TCHAR* CSkypeProto::GetDecodeSettingString(const char *setting, TCHAR* errorValue)
+wchar_t* CSkypeProto::GetDecodeSettingString(const char *setting, wchar_t* errorValue)
{
return this->GetDecodeSettingString(NULL, setting, errorValue);
}
@@ -97,17 +97,17 @@ bool CSkypeProto::SetSettingDword(const char *setting, DWORD value)
return this->SetSettingDword(NULL, setting, value);
}
-bool CSkypeProto::SetSettingString(HANDLE hContact, const char *szSetting, TCHAR* value)
+bool CSkypeProto::SetSettingString(HANDLE hContact, const char *szSetting, wchar_t* value)
{
return !::DBWriteContactSettingWString(hContact, this->m_szModuleName, szSetting, value);
}
-bool CSkypeProto::SetSettingString(const char *szSetting, TCHAR* value)
+bool CSkypeProto::SetSettingString(const char *szSetting, wchar_t* value)
{
return this->SetSettingString(NULL, szSetting, value);
}
-bool CSkypeProto::SetDecodeSettingString(HANDLE hContact, const char *setting, TCHAR* value)
+bool CSkypeProto::SetDecodeSettingString(HANDLE hContact, const char *setting, wchar_t* value)
{
TCHAR* result = mir_wstrdup(value);
CallService(MS_DB_CRYPT_ENCODESTRING, sizeof(result), reinterpret_cast<LPARAM>(result));
@@ -115,7 +115,7 @@ bool CSkypeProto::SetDecodeSettingString(HANDLE hContact, const char *setting, T
return !this->SetSettingString(hContact, setting, result);
}
-bool CSkypeProto::SetDecodeSettingString(const char *setting, TCHAR* value)
+bool CSkypeProto::SetDecodeSettingString(const char *setting, wchar_t* value)
{
return this->SetDecodeSettingString(NULL, setting, value);
} \ No newline at end of file