#pragma once #include #include #include #include #include #include #include #include #include const std::string cal_dir = "/home/stefan/.local/share/khal/calendars/dummy/"; namespace util { std::vector parse_cal_dir(); icalcomponent* parse_main_component(ical::ical_object* object, icalcomponent* component); void parse_component(ical::ical_object* object, icalcomponent* component); std::string slurp(std::ifstream& in); icalcomponent* parse_ics_file(std::string filename); void debug(icalcomponent* component); }