summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_utils.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-05-08 15:08:27 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-05-08 15:08:27 +0000
commit27cac8c07ca2465c187bb90e7058a854f46b6746 (patch)
treeb561f2aba5067fca7d10613161326ad7e67ce2b9 /protocols/Skype/src/skype_utils.cpp
parent57ddd953a88d6633ab06b6ef5ca04414338b566f (diff)
- code restructurization
- started network log filling git-svn-id: http://svn.miranda-ng.org/main/trunk@4598 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_utils.cpp')
-rw-r--r--protocols/Skype/src/skype_utils.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_utils.cpp b/protocols/Skype/src/skype_utils.cpp
index 26421f7e03..2bfbb2319f 100644
--- a/protocols/Skype/src/skype_utils.cpp
+++ b/protocols/Skype/src/skype_utils.cpp
@@ -389,6 +389,23 @@ void CSkypeProto::ShowNotification(const wchar_t *message, int flags, HANDLE hCo
CSkypeProto::ShowNotification(::TranslateT(MODULE), message, flags, hContact);
}
+struct HtmlEntity
+{
+ const char *entity;
+ char symbol;
+};
+
+const HtmlEntity htmlEntities[]={
+ {"nbsp", ' '},
+ {"amp", '&'},
+ {"quot", '"'},
+ {"lt", '<'},
+ {"gt", '>'},
+ {"apos", '\''},
+ {"copy", '©'},
+ // TODO: add more
+};
+
char *CSkypeProto::RemoveHtml(const char *text)
{
std::string new_string = "";