mirror of
https://github.com/skoelle/m5stack-dashboard.git
synced 2026-09-17 16:50:23 +00:00
20 lines
318 B
C++
20 lines
318 B
C++
#pragma once
|
|
#include <Arduino.h>
|
|
#include <vector>
|
|
|
|
struct CalendarEvent {
|
|
long id = 0;
|
|
String summary;
|
|
String startAt;
|
|
String endAt;
|
|
bool allDay = false;
|
|
String status;
|
|
};
|
|
|
|
struct CalendarData {
|
|
bool valid = false;
|
|
std::vector<CalendarEvent> events;
|
|
};
|
|
|
|
CalendarData fetchCalendar();
|