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
22 lines
448 B
#pragma once
|
|
|
|
#include <libical/ical.h>
|
|
#include <vector>
|
|
|
|
#include <io/debug.h>
|
|
#include <ical/Alarm.h>
|
|
#include <ical/Event.h>
|
|
|
|
namespace ical {
|
|
|
|
class IcalObject {
|
|
public:
|
|
void add_event(ical::Event* event);
|
|
std::vector<ical::Event*> get_events() const;
|
|
bool empty() const;
|
|
|
|
friend std::ostream& operator<<(std::ostream &os, ical::IcalObject const &obj);
|
|
private:
|
|
std::vector<ical::Event*> events;
|
|
};
|
|
}
|