X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcommon%2Ftext.h;h=1c1c0085fbfaef7d6f4a92afd40239a1816aae4b;hb=fb2c90465d0ac5d2d8c3657ddf99d47db5639e51;hp=d730aae6714ff1b95b0a4b8b9bd07437849a4f8f;hpb=edbae90db6fd9237515844afadb98f41a025ab1f;p=xestiacalendar%2F.git diff --git a/source/common/text.h b/source/common/text.h index d730aae..1c1c008 100644 --- a/source/common/text.h +++ b/source/common/text.h @@ -1,9 +1,29 @@ +#ifndef __COMMON_TEXT_H__ +#define __COMMON_TEXT_H__ + #include +#include #include #include #include +#include +#include + +struct PropertyNameValue{ + std::string Name; + std::string Value; +}; std::multimap ProcessTextVectors(std::vector *TextProperties, std::vector *TextValues, bool SearchMultiple, - std::string Property); \ No newline at end of file + std::string Property); +std::map 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