summaryrefslogtreecommitdiff
path: root/protocols/YAMN/src/main.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-10-14 09:45:11 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-10-14 09:45:11 +0000
commit4b6899c098f97960bf58456313ac8d643336dcd0 (patch)
treee04b9a7e1ddcff868fe81c2a6db3716c49d11c2f /protocols/YAMN/src/main.h
parente179ffc995c96568bfdce46ac73f58d569166f05 (diff)
YAMN: folders restructurization
git-svn-id: http://svn.miranda-ng.org/main/trunk@1919 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/YAMN/src/main.h')
-rw-r--r--protocols/YAMN/src/main.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/protocols/YAMN/src/main.h b/protocols/YAMN/src/main.h
new file mode 100644
index 0000000000..08d9f91fed
--- /dev/null
+++ b/protocols/YAMN/src/main.h
@@ -0,0 +1,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
+