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.
26 lines
631 B
26 lines
631 B
#pragma once
|
|
|
|
#include <fstream>
|
|
#include <sstream>
|
|
#include <iostream>
|
|
|
|
#include <libical/ical.h>
|
|
#include <ical/IcalObject.h>
|
|
#include <ical/Alarm.h>
|
|
#include <ical/Event.h>
|
|
|
|
#include <boost/filesystem.hpp>
|
|
|
|
#include <io/debug.h>
|
|
|
|
namespace util {
|
|
std::vector<ical::ical_object*> parse_cal_dir(std::string directory);
|
|
icalcomponent* parse_main_component(ical::ical_object* object, icalcomponent* component);
|
|
void parse_component(ical::ical_object* object, icalcomponent* component);
|
|
|
|
std::string slurp(std::ifstream& in);
|
|
icalcomponent* parse_ics_file(std::string filename);
|
|
|
|
|
|
void debug(icalcomponent* component);
|
|
}
|