summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/utils.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2012-11-05 16:02:13 +0000
committerRobert Pösel <robyer@seznam.cz>2012-11-05 16:02:13 +0000
commitd6edd541b10926aee0e9442d6577bf8213e0f757 (patch)
tree6a22572dc2c65508408d9f8d6d2b730a4478c6a3 /protocols/FacebookRM/src/utils.h
parentf156040507d1b569be0b9e4b1038aeb39feaeefc (diff)
Facebook: Replace #&... html codes to chars (fixes #32)
git-svn-id: http://svn.miranda-ng.org/main/trunk@2208 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/utils.h')
-rw-r--r--protocols/FacebookRM/src/utils.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/protocols/FacebookRM/src/utils.h b/protocols/FacebookRM/src/utils.h
index 75712d6a2d..b9cb11a369 100644
--- a/protocols/FacebookRM/src/utils.h
+++ b/protocols/FacebookRM/src/utils.h
@@ -82,17 +82,18 @@ namespace utils
namespace text
{
- void replace_first( std::string* data, std::string from, std::string to );
- void replace_all( std::string* data, std::string from, std::string to );
- unsigned int count_all( std::string* data, std::string term );
- std::string special_expressions_decode( std::string data );
- std::string edit_html( std::string data );
- std::string remove_html( std::string data );
- std::string slashu_to_utf8( std::string data );
- std::string trim( std::string data );
- std::string source_get_value( std::string* data, unsigned int argument_count, ... );
- std::string source_get_value2( std::string* data, const char *term, const char *endings);
+ void replace_first(std::string* data, std::string from, std::string to);
+ void replace_all(std::string* data, std::string from, std::string to);
+ unsigned int count_all(std::string* data, std::string term);
+ std::string special_expressions_decode( std::string data);
+ std::string edit_html(std::string data);
+ std::string remove_html(std::string data);
+ std::string slashu_to_utf8(std::string data);
+ std::string trim(std::string data);
+ std::string source_get_value(std::string* data, unsigned int argument_count, ...);
+ std::string source_get_value2(std::string* data, const char *term, const char *endings);
void explode(std::string str, std::string separator, std::vector<std::string>* results);
+ void append_ordinal(unsigned int value, std::string* data);
};
namespace conversion