From 4392b08fedcfc61eb3ec40a956516637d5abbf38 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 19 May 2012 14:38:34 +0000 Subject: added Alarms git-svn-id: http://svn.miranda-ng.org/main/trunk@77 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Alarms/common.h | 75 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 plugins/Alarms/common.h (limited to 'plugins/Alarms/common.h') diff --git a/plugins/Alarms/common.h b/plugins/Alarms/common.h new file mode 100644 index 0000000000..0186d87228 --- /dev/null +++ b/plugins/Alarms/common.h @@ -0,0 +1,75 @@ +#ifndef _COMMON_INC +#define _COMMON_INC + + +#define _WIN32_WINNT 0x0500 +#define _WIN32_IE 0x0400 + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers +#define VC_EXTRALEAN + +#include +#include +#include +#include +#include + +#include "resource.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include +#include + +#include +#include + +#include +#include + +#include + +#include + +#define MODULE "Alarm" + +extern HINSTANCE hInst; +extern PLUGINLINK *pluginLink; + +extern HANDLE hTopToolbarButton; + +typedef struct ALARM_tag { + unsigned short id; + char *szTitle; + char *szDesc; + Occurrence occurrence; + BOOL snoozer; + SYSTEMTIME time; + unsigned short action; + char *szCommand; + char *szCommandParams; + BYTE sound_num; + int flags; + DWORD trigger_id; +} ALARM; + +#ifndef MIID_ALARMS +#define MIID_ALARMS {0x60ebaad1, 0x8d95, 0x4966, { 0x8b, 0xe3, 0xb1, 0xed, 0xaf, 0xa2, 0x11, 0xab}} +#endif + +#endif -- cgit v1.2.3