diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2016-12-19 06:04:51 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2016-12-19 06:04:51 +0300 |
commit | 758762fbc91f2002a9e41957ca34a5d772d575f4 (patch) | |
tree | 0bc6698fe63d0b081b3e83fd711e22e5902adeaa /plugins/ExternalAPI | |
parent | 83175855d796e139c67d145e710336ec44660319 (diff) |
plugins:
alarms:
added days of week.
closes #318
Diffstat (limited to 'plugins/ExternalAPI')
-rwxr-xr-x[-rw-r--r--] | plugins/ExternalAPI/m_alarms.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/ExternalAPI/m_alarms.h b/plugins/ExternalAPI/m_alarms.h index 82b376af86..83360901a2 100644..100755 --- 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;
|