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.

22 lines
448 B

  1. #pragma once
  2. #include <libical/ical.h>
  3. #include <vector>
  4. #include <io/debug.h>
  5. #include <ical/Alarm.h>
  6. #include <ical/Event.h>
  7. namespace ical {
  8. class IcalObject {
  9. public:
  10. void add_event(ical::Event* event);
  11. std::vector<ical::Event*> get_events() const;
  12. bool empty() const;
  13. friend std::ostream& operator<<(std::ostream &os, ical::IcalObject const &obj);
  14. private:
  15. std::vector<ical::Event*> events;
  16. };
  17. }