#pragma once #include #include #include namespace ical { enum class action { DISPLAY, AUDIO, EMAIL, PROC }; enum class trigger_type { ABSOLUTE, RELATIVE }; class Alarm { public: Alarm(icalcomponent* alarm_component); void parse(icalcomponent* alarm_component); void parse_action(icalcomponent* alarm_component); void parse_description(icalcomponent* alarm_component); void parse_trigger(icalcomponent* alarm_component); std::string print(); private: action a; trigger_type trigger; std::string description; }; }