X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcommon%2Ftext.h;h=1c1c0085fbfaef7d6f4a92afd40239a1816aae4b;hb=c9449ab306c3f64e18b33d10cd4e5e2eb528bd9e;hp=c4813e1d9ab5cc98a3ca95ffb84901a21496f060;hpb=ce0d1d07ea89abafb4debeb31e23f1b598fd9951;p=xestiacalendar%2F.git diff --git a/source/common/text.h b/source/common/text.h index c4813e1..1c1c008 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,10 @@ 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); +std::string OutputText(std::string *TextInput); #endif \ No newline at end of file