You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
482 B

  1. #pragma once
  2. #include <string>
  3. #include <vector>
  4. #include <memory>
  5. #include <ical/IcalObject.h>
  6. namespace ical {
  7. class Event {
  8. public:
  9. Event(ical::ical_object* object, icalcomponent* event_component);
  10. void parse(ical::ical_object* object, icalcomponent* event);
  11. void parse_alarms(icalcomponent* event_component);
  12. std::string print();
  13. private:
  14. std::string summary;
  15. icaltimetype dtstart;
  16. icaltimetype dtend;
  17. std::vector<Alarm> alarms;
  18. };
  19. }