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
488 B

#pragma once
#include <string>
#include <vector>
#include <memory>
#include <ical/IcalObject.h>
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() const;
private:
std::string summary;
icaltimetype dtstart;
icaltimetype dtend;
std::vector<Alarm> alarms;
};
}