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.
 
 
 
 

28 lines
690 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>
const std::string cal_dir = "/home/stefan/.local/share/khal/calendars/dummy/";
namespace util {
std::vector<ical::ical_object*> parse_cal_dir();
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);
}