summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_profile.cpp
diff options
context:
space:
mode:
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);