#include <vector>
#include <string.h>
#include <stdint.h>
-
+#include "utils/StringUtils.h"
#include "MediaSource.h"
// A list of filesystem types for LegalPath/FileName
{
CStdString strLine1 = strItem1;
CStdString strLine2 = strItem2;
- strLine1 = strLine1.ToLower();
- strLine2 = strLine2.ToLower();
+ StringUtils::ToLower(strLine1);
+ StringUtils::ToLower(strLine2);
return strcmp(strLine1.c_str(), strLine2.c_str()) < 0;
}
};
std::string language;
unsigned int flag;
- ExternalStreamInfo() : flag(0x1111){};
+ ExternalStreamInfo() : flag(0){};
};
class CUtil
static void ForceForwardSlashes(CStdString& strPath);
static double AlbumRelevance(const CStdString& strAlbumTemp1, const CStdString& strAlbum1, const CStdString& strArtistTemp1, const CStdString& strArtist1);
- static bool MakeShortenPath(CStdString StrInput, CStdString& StrOutput, int iTextMaxLength);
+ static bool MakeShortenPath(CStdString StrInput, CStdString& StrOutput, size_t iTextMaxLength);
/*! \brief Checks wether the supplied path supports Write file operations (e.g. Rename, Delete, ...)
\param strPath the path to be checked