#pragma once #include #include #include #include namespace ical { class Event { public: Event(ical::ical_object* object, icalcomponent* event_component); void parse(ical::ical_object* object, icalcomponent* event); void parse_alarms(icalcomponent* event_component); std::string print(); private: std::string summary; icaltimetype dtstart; icaltimetype dtend; std::vector alarms; }; }