X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcommon%2Ftext.h;h=993547af0459b0c2f493a22672d1517d1c2c4f62;hb=d9db2a772095094c2bfab37979d8c0931abe4afc;hp=c4813e1d9ab5cc98a3ca95ffb84901a21496f060;hpb=ce0d1d07ea89abafb4debeb31e23f1b598fd9951;p=xestiacalendar%2F.git diff --git a/source/common/text.h b/source/common/text.h index c4813e1..993547a 100644 --- a/source/common/text.h +++ b/source/common/text.h @@ -1,10 +1,13 @@ +#ifndef __COMMON_TEXT_H__ +#define __COMMON_TEXT_H__ + #include +#include #include #include #include - -#ifndef __COMMON_TEXT_H__ -#define __COMMON_TEXT_H__ +#include +#include struct PropertyNameValue{ std::string Name; @@ -17,5 +20,9 @@ std::multimap ProcessTextVectors(std::vector SplitValues(std::string InputData); PropertyNameValue SplitNameValue(std::string InputData); +bool HexToInt(std::string *HexString, int *Number); +bool IntToHex(int *Number, std::string *HexString, int HexFill); +void SplitPathFilename(std::string *CalendarEntryHREF, std::string *EntryURIPath, + std::string *EntryFilename); #endif \ No newline at end of file