mirror of https://github.com/kiwix/libkiwix.git
Make the string Tools functions available in android.
This commit is contained in:
parent
92c9a47a0d
commit
be498c3b16
|
@ -33,8 +33,6 @@
|
|||
|
||||
namespace kiwix
|
||||
{
|
||||
#ifndef __ANDROID__
|
||||
|
||||
std::string beautifyInteger(uint64_t number);
|
||||
std::string beautifyFileSize(uint64_t number);
|
||||
void printStringInHexadecimal(const char* s);
|
||||
|
@ -44,8 +42,6 @@ void stringReplacement(std::string& str,
|
|||
const std::string& newStr);
|
||||
std::string encodeDiples(const std::string& str);
|
||||
|
||||
#endif
|
||||
|
||||
std::string removeAccents(const std::string& text);
|
||||
void loadICUExternalTables();
|
||||
|
||||
|
|
|
@ -57,8 +57,6 @@ std::string kiwix::removeAccents(const std::string& text)
|
|||
return unaccentedText;
|
||||
}
|
||||
|
||||
#ifndef __ANDROID__
|
||||
|
||||
/* Prepare integer for display */
|
||||
std::string kiwix::beautifyInteger(uint64_t number)
|
||||
{
|
||||
|
@ -138,8 +136,6 @@ std::string kiwix::encodeDiples(const std::string& str)
|
|||
return result;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* urlEncode() based on javascript encodeURI() &
|
||||
encodeURIComponent(). Mostly code from rstudio/httpuv (GPLv3) */
|
||||
|
||||
|
|
Loading…
Reference in New Issue