StudyPlanner/src/config.h

16 lines
314 B
C
Raw Normal View History

/* Global config file should be importet by all
*/
#ifndef CONFIG
#define CONFIG
#include <time.h>
#define seconds(n) (n * CLOCKS_PER_SEC)
#define minutes(n) (n * 60 * seconds(n))
#define hours(n) (n * 60 *(minutes(n))
const time_t pauseLenght = minutes(15);
const time_t minIntervalLen = minutes(30);
#endif