29 lines
782 B
C
29 lines
782 B
C
/* Global config file
|
|
*/
|
|
#ifndef CONFIG
|
|
#define CONFIG
|
|
|
|
#include <time.h>
|
|
// #define seconds(n) (n * CLOCKS_PER_SEC)
|
|
#define minutes(n) (60 * n)
|
|
#define hours(n) (60 * minutes(n))
|
|
#define days(n) (24 * hours(n))
|
|
|
|
static const time_t pauseLenght = minutes(10);
|
|
static const time_t minIntervalLen = minutes(30);
|
|
//
|
|
// static const char *iCalHeader = "BEGIN:VCALENDAR"
|
|
// "VERSION:2.0"
|
|
// "PRODID:-//hacksw/handcal//NONSGML v1.0//EN";
|
|
//
|
|
// static const char *iCalEvent =
|
|
// "BEGIN:VEVENT"
|
|
// "UID:uid1@example.com"
|
|
// "ORGANIZER:CN=John Doe : MAILTO: john.doe@example.com"
|
|
// "DTSTART:19970714T170000Z"
|
|
// "DTEND:19970715T040000Z"
|
|
// "SUMMARY:Bastille Day Party"
|
|
// "END:VEVENT ";
|
|
//
|
|
#endif
|