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
628 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::IcalObject*> parse_cal_dir(std::string directory);
icalcomponent* parse_main_component(ical::IcalObject* object, icalcomponent* component);
void parse_component(ical::IcalObject* object, icalcomponent* component);
std::string slurp(std::ifstream& in);
icalcomponent* parse_ics_file(std::string filename);
void debug(icalcomponent* component);
}