summaryrefslogtreecommitdiff
path: root/protocols/YAMN/src/main.h
blob: 08d9f91fed5b175c0a0f9e83135e84954dec24e7 (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
#ifndef __MAIN_H
#define __MAIN_H

#ifdef __GNUC__
	#define __try
	#define __except(x) if (0) /* don't execute handler */
	#define __finally
	#define _try __try
	#define _except __except
	#define _finally __finally 
#endif

#define YAMN_SHORTNAME "YAMN tweety"
#define YAMN_FILENAME "yamn"


#include "version.h"
#define YAMN_NEWMAILSNDDESC		"YAMN: new mail message"
#define YAMN_CONNECTFAILSNDDESC	"YAMN: connect failed"
#define	YAMN_CONNECTFAILSOUND	"YAMN/Sound/ConnectFail"
#define	YAMN_NEWMAILSOUND		"YAMN/Sound/NewMail"

#define YAMN_DBMODULE		"YAMN"
#define YAMN_DBPOSX			"MailBrowserWinX"
#define YAMN_DBPOSY			"MailBrowserWinY"
#define YAMN_DBSIZEX		"MailBrowserWinW"
#define YAMN_DBSIZEY		"MailBrowserWinH"
#define YAMN_DBMSGPOSX		"MailMessageWinX"
#define YAMN_DBMSGPOSY		"MailMessageWinY"
#define YAMN_DBMSGSIZEX		"MailMessageWinW"
#define YAMN_DBMSGSIZEY		"MailMessageWinH"
#define YAMN_DBMSGPOSSPLIT	"MailMessageSplitY"
#define	YAMN_TTBFCHECK		"ForceCheckTTB"
#define	YAMN_SHOWMAINMENU	"ShowMainMenu"
#define	YAMN_CLOSEDELETE	"CloseOnDelete"
#define YAMN_SHOWASPROTO	"ShowAsProtcol"
#define	YAMN_DBTIMEOPTIONS	"MailBrowserTimeOpts"

#define YAMN_DEFAULTHK		MAKEWORD(VK_F11,MOD_CONTROL)

#define SHOWDATELONG		0x01
#define SHOWDATENOTODAY		0x02
#define SHOWDATENOSECONDS	0x04

extern unsigned char optDateTime;

//  Loading Icon and checking for icolib 
void LoadIcons();

#endif