53 const std::string & pattern,
bool use_regex =
false,
int minutes_before = 0);
Async behavior that waits for a calendar event's start time to arrive.
CbDetectCalendarEvent(const std::string &pattern, bool use_regex=false, int minutes_before=0)
Construct with pattern configuration.
void onEventStarted(const CalendarEvent &event)
Callback when an event starts.
virtual ~CbDetectCalendarEvent()=default
std::optional< CalendarEvent > detected_event_
CpCalendarEventListener * listener_
std::optional< CalendarEvent > getDetectedEvent() const
Get the detected event (if any)
SMACC2 Client for Google Calendar integration via gcalcli.
Component that listens for calendar events and triggers notifications.
Represents a Google Calendar event.