From 4a572e85e904ef4876544f1e6d9dec9d1a13b895 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Sun, 28 Dec 2014 01:30:35 -0500 Subject: redshift: Move period_t to header --- src/redshift.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/redshift.h') diff --git a/src/redshift.h b/src/redshift.h index e8be4e6..5f4335c 100644 --- a/src/redshift.h +++ b/src/redshift.h @@ -24,6 +24,15 @@ #include +/* Periods of day. */ +typedef enum { + PERIOD_NONE = 0, + PERIOD_DAYTIME, + PERIOD_NIGHT, + PERIOD_TRANSITION +} period_t; + + /* Color setting */ typedef struct { int temperature; -- cgit v1.2.3-70-g09d2