aboutsummaryrefslogtreecommitdiffstats
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-01-27 08:03:09 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-01-27 08:29:33 +0100
commitebe483c0584c839a2890db1e4a43b0526ed738d8 (patch)
tree463cd681143cfee29b30beec1dab5436016a0165 /src/calcurse.h
parente1bffdb52daa50468d2b730a51d1717cafb70705 (diff)
downloadcalcurse-ebe483c0584c839a2890db1e4a43b0526ed738d8.tar.gz
calcurse-ebe483c0584c839a2890db1e4a43b0526ed738d8.zip
Support sending notifications for all appointments
In 45417bc (Add configuration option to notify all appointments, 2011-07-31), we added an option that allows for choosing whether the user receives notifications only for flagged or only for unflagged appointments. Convert this setting into a three-state option and allow the user to additionally enable notifications for *all* appointments. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index 5d8c9e4..b569d8d 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -598,6 +598,10 @@ struct pad {
};
/* Notification bar definition. */
+#define NOTIFY_FLAGGED_ONLY 0
+#define NOTIFY_UNFLAGGED_ONLY 1
+#define NOTIFY_ALL 2
+
struct nbar {
unsigned show; /* display or hide the notify-bar */
int cntdwn; /* warn when time left before next app