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.
29 lines
516 B
29 lines
516 B
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <memory>
|
|
|
|
#include <libical/ical.h>
|
|
#include <io/debug.h>
|
|
#include <ical/Alarm.h>
|
|
|
|
namespace ical {
|
|
class Event {
|
|
public:
|
|
Event(icalcomponent* event_component);
|
|
|
|
void parse(icalcomponent* event);
|
|
void parse_alarms(icalcomponent* event_component);
|
|
|
|
std::string
|
|
|
|
std::string print() const;
|
|
private:
|
|
std::string uid;
|
|
std::string summary;
|
|
icaltimetype dtstart;
|
|
icaltimetype dtend;
|
|
std::vector<Alarm> alarms;
|
|
};
|
|
}
|