summaryrefslogtreecommitdiff
path: root/alarms/common.h
blob: 4ae5fce1353918a5b739ed9561d1faf84247c334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#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 <windows.h>
#include <shellapi.h>
#include <stdio.h>
#include <stdlib.h>
#include <commctrl.h>

#include "resource.h"

#include <newpluginapi.h>
#include <m_system.h>
#include <m_database.h>
#include <m_options.h>
#include <m_skin.h>
#include <m_contacts.h>
#include <m_protomod.h>
#include <m_protosvc.h>
#include <m_langpack.h>
#include <m_popup.h>
#include <m_utils.h>
#include <m_idle.h>

#include <m_clist.h>
#include <m_clui.h>
#include <m_clc.h>

#include <m_cluiframes.h>
#include <m_genmenu.h>

#include <m_toptoolbar.h>
#include <m_trigger.h>

#include <m_fontservice.h>
#include <m_updater.h>

#include <m_alarms.h>

#include "IcoLib.h"

#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;


#endif