summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_profile.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-04-20 10:14:05 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-04-20 10:14:05 +0000
commit5560fccb85a89bb668a79eed3d4cd0e668278331 (patch)
treea8c5949d9cc473c51af2712bb79c306f4a531932 /protocols/Skype/src/skype_profile.cpp
parent5a5ffa5cc195669c48827e4cf9d948dfb3272e47 (diff)
- temporary commit. may contain non-working code
git-svn-id: http://svn.miranda-ng.org/main/trunk@4480 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_profile.cpp')
-rw-r--r--protocols/Skype/src/skype_profile.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_profile.cpp b/protocols/Skype/src/skype_profile.cpp
index ea35f7e482..81ef6fc48c 100644
--- a/protocols/Skype/src/skype_profile.cpp
+++ b/protocols/Skype/src/skype_profile.cpp
@@ -1,5 +1,30 @@
#include "skype_proto.h"
+SettingItem CSkypeProto::setting[] = {
+ {LPGENT("Full name"), "Nick", DBVT_WCHAR, LI_STRING},
+ {LPGENT("Mood"), "XStatusMsg", DBVT_WCHAR, LI_STRING},
+
+ {LPGENT("Mobile phone"), "Cellular", DBVT_WCHAR, LI_NUMBER},
+ {LPGENT("Home phone"), "Phone", DBVT_WCHAR, LI_NUMBER},
+ {LPGENT("Office phone"), "CompanyPhone", DBVT_WCHAR, LI_NUMBER},
+ {LPGENT("E-mail 1"), "e-mail0", DBVT_WCHAR, LI_STRING},
+ {LPGENT("E-mail 2"), "e-mail1", DBVT_WCHAR, LI_STRING},
+ {LPGENT("E-mail 3"), "e-mail2", DBVT_WCHAR, LI_STRING},
+
+ {LPGENT("Country"), "Country", DBVT_WCHAR, LI_LIST},
+ {LPGENT("State"), "State", DBVT_WCHAR, LI_STRING},
+ {LPGENT("City"), "City", DBVT_WCHAR, LI_STRING},
+ {LPGENT("Time zone"), "Timezone", DBVT_BYTE, LI_LIST},
+ {LPGENT("Homepage"), "Homepage", DBVT_WCHAR, LI_STRING},
+ {LPGENT("Gender"), "Gender", DBVT_BYTE, LI_LIST},
+ {LPGENT("Birth day"), "BirthDay", DBVT_BYTE, LI_NUMBER},
+ {LPGENT("Birth month"), "BirthMonth", DBVT_BYTE, LI_NUMBER},
+ {LPGENT("Birth year"), "BirthYear", DBVT_WORD, LI_NUMBER},
+ {LPGENT("Language"), "Language1", DBVT_WCHAR, LI_LIST},
+
+ {LPGENT("About"), "About", DBVT_WCHAR, LI_STRING}
+};
+
void CSkypeProto::UpdateProfileAvatar(SEObject *obj, HANDLE hContact)
{
uint newTS = obj->GetUintProp(/* *::P_AVATAR_TIMESTAMP */ 182);