summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r--protocols/Skype/src/skype_proto.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h
index 3db7cd5bfa..8ae37492c8 100644
--- a/protocols/Skype/src/skype_proto.h
+++ b/protocols/Skype/src/skype_proto.h
@@ -1,6 +1,7 @@
#pragma once
#include "skype.h"
+#include <time.h>
struct CSkypeProto;
@@ -126,6 +127,8 @@ protected:
// utils
static char* GetCountryNameById(int countryId);
static int GetCountryIdByName(const char* countryName);
+
+ wchar_t* GetAvatarFilePath(wchar_t* skypeName);
// instances
static LIST<CSkypeProto> instanceList;
@@ -171,7 +174,7 @@ protected:
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);
-
+ //
bool SetSettingByte(const char *setting, BYTE value);
bool SetSettingByte(HANDLE hContact, const char *setting, BYTE value);
bool SetSettingWord(const char *setting, WORD value);
@@ -182,6 +185,9 @@ protected:
bool SetSettingString(HANDLE hContact, const char *setting, wchar_t* value);
bool SetDecodeSettingString(const char *setting, wchar_t* value);
bool SetDecodeSettingString(HANDLE hContact, const char *setting, wchar_t* value);
+ //
+ void DeleteSetting(const char *setting);
+ void DeleteSetting(HANDLE hContact, const char *setting);
// dialog procs
static INT_PTR CALLBACK SkypeAccountProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);