AceTime  1.6
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
LinkEntry.h
1 /*
2  * MIT License
3  * Copyright (c) 2021 Brian T. Park
4  */
5 
6 #ifndef ACE_TIME_LINK_ENTRY_H
7 #define ACE_TIME_LINK_ENTRY_H
8 
9 #include <stdint.h>
10 
11 namespace ace_time {
12 
13 // The data structures in LinkEntry.inc are #included into the basic and
14 // extended namespaces, instead of subclassing them into the namespaces,
15 // because C++11 does not allow subclassed structs to be initialized using the
16 // curly-brace initializers. I believe C++14 removes this restriction but
17 // Arduino is currently limited to C++11.
18 
19 namespace basic {
20 #include "LinkEntry.inc"
21 }
22 
23 namespace extended {
24 #include "LinkEntry.inc"
25 }
26 
27 } // ace_time
28 
29 #endif