#pragma once #include #include #include #include #include #include #include #include #include #include const std::string dtime_fmt = "%d.%m.%Y_%H:%M:%S"; namespace util { std::vector parse_cal_dir(std::string directory); icalcomponent* parse_main_component(ical::IcalObject* object, icalcomponent* component, const std::string &file); void parse_component(ical::IcalObject* object, icalcomponent* component, const std::string &file); std::string slurp(std::ifstream& in); icalcomponent* parse_ics_file(std::string filename); void debug(icalcomponent* component); std::string date_string(const uint32_t &epoch, const std::string &format = "%c"); }