From 758762fbc91f2002a9e41957ca34a5d772d575f4 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Mon, 19 Dec 2016 06:04:51 +0300 Subject: plugins: alarms: added days of week. closes #318 --- plugins/ExternalAPI/m_alarms.h | 10 ++++++++++ 1 file changed, 10 insertions(+) mode change 100644 => 100755 plugins/ExternalAPI/m_alarms.h (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_alarms.h b/plugins/ExternalAPI/m_alarms.h old mode 100644 new mode 100755 index 82b376af86..83360901a2 --- a/plugins/ExternalAPI/m_alarms.h +++ b/plugins/ExternalAPI/m_alarms.h @@ -10,6 +10,7 @@ typedef enum { OC_ONCE, // all fields in time (see below) are valid OC_DAILY, // only wHour, wMinute, and wSecond are valid + OC_SELECTED_DAYS, // only wHour, wMinute, and wSecond are valid OC_WEEKLY, // wHour, wMinute, wSecond, and wDayOfWeek are valid OC_WEEKDAYS, // only wHour, wMinute, and wSecond are valid OC_MONTHLY, // wHour, wMinute, wSecond, and wDay are valid @@ -23,6 +24,15 @@ typedef enum { #define ALF_NOSTARTUP 0x08 // do not trigger on startup if it was due when miranda was not running #define ALF_NOSNOOZE 0x10 // do not allow snoozing of this alarm +//day flags +#define ALDF_1 0x01 +#define ALDF_2 0x02 +#define ALDF_3 0x04 +#define ALDF_4 0x08 +#define ALDF_5 0x10 +#define ALDF_6 0x20 +#define ALDF_7 0x40 + typedef struct { TCHAR *szTitle; TCHAR *szDesc; -- cgit v1.2.3