#pragma once #include #include #include #include #include #include namespace ical { class Event { public: Event(icalcomponent* event_component); void parse(icalcomponent* event); void parse_alarms(icalcomponent* event_component); std::string get_uid() const; std::string get_summary() const; icaltimetype get_dtstart() const; icaltimetype get_dtend() const; std::vector get_alarms() const; std::string print() const; private: std::string uid; std::string summary; icaltimetype dtstart; icaltimetype dtend; std::vector alarms; }; }