#ifndef _COMMON_INC #define _COMMON_INC #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #define VC_EXTRALEAN #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "resource.h" #include "version.h" typedef struct ALARM_tag { unsigned short id; wchar_t *szTitle; wchar_t *szDesc; Occurrence occurrence; BOOL snoozer; SYSTEMTIME time; unsigned short action; wchar_t *szCommand; wchar_t *szCommandParams; uint8_t sound_num; int flags, day_mask; } ALARM; #include "alarmlist.h" #include "options.h" #include "icons.h" #include "frame.h" #include "alarm_win.h" #include "time_utils.h" #define MODULENAME "Alarm" struct CMPlugin : public PLUGIN { CMPlugin(); int Load() override; }; extern HANDLE hTopToolbarButton; #endif