diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-10-06 11:22:35 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-10-06 11:22:35 +0000 |
commit | fe3fa7726ed116a4c6eaded2b43308131a030443 (patch) | |
tree | 5207c3a695b56b6d3142d90800a6263e9aee579e /protocols/Skype/src/skype_proto.h | |
parent | c68b7c22bd877ba609552de152dbb4ed84230bad (diff) |
- added avatar loading
- some minor changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1792 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, 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);
|