sync with cvs 4.64cvs4
[claws.git] / src / defs.h
1 /*
2  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3  * Copyright (C) 1999,2000 Hiroyuki Yamamoto
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  */
19
20 #ifndef __DEFS_H__
21 #define __DEFS_H__
22
23 #ifdef HAVE_CONFIG_H
24 #  include "config.h"
25 #endif
26
27 #if HAVE_PATHS_H
28 #  include <paths.h>
29 #endif
30
31 #if HAVE_SYS_PARAM_H
32 #  include <sys/param.h>
33 #endif
34
35 #define PROG_VERSION            "Sylpheed version "VERSION
36 #define INBOX_DIR               "inbox"
37 #define OUTBOX_DIR              "outbox"
38 #define QUEUE_DIR               "queue"
39 #define DRAFT_DIR               "draft"
40 #define TRASH_DIR               "trash"
41 #define RC_DIR                  ".sylpheed"
42 #define NEWS_CACHE_DIR          "newscache"
43 #define IMAP_CACHE_DIR          "imapcache"
44 #define MIME_TMP_DIR            "mimetmp"
45 #define COMMON_RC               "sylpheedrc"
46 #define ACCOUNT_RC              "accountrc"
47 #define FILTER_RC               "filterrc"
48 #define MENU_RC                 "menurc"
49 #define ADDRESS_BOOK            "addressbook.xml"
50 #define MANUAL_HTML_INDEX       "sylpheed.html"
51 #define HOMEPAGE_URI            "http://sylpheed.good-day.net/"
52 #define FOLDER_LIST             "folderlist.xml"
53 #define CACHE_FILE              ".sylpheed_cache"
54 #define MARK_FILE               ".sylpheed_mark"
55 #define CACHE_VERSION           17
56 #define MARK_VERSION            2
57
58 #define DEFAULT_SIGNATURE       ".signature"
59 #define DEFAULT_INC_PATH        "/usr/bin/mh/inc"
60 #define DEFAULT_INC_PROGRAM     "inc"
61 /* #define DEFAULT_INC_PATH     "/usr/bin/imget" */
62 /* #define DEFAULT_INC_PROGRAM  "imget" */
63
64 #ifdef _PATH_MAILDIR
65 #  define DEFAULT_SPOOL_PATH    _PATH_MAILDIR
66 #else
67 #  define DEFAULT_SPOOL_PATH    "/var/spool/mail"
68 #endif
69
70 #define BUFFSIZE                        8192
71
72 #ifndef MAXPATHLEN
73 #  define MAXPATHLEN                    4095
74 #endif
75
76 #define DEFAULT_HEIGHT                  460
77 #define DEFAULT_FOLDERVIEW_WIDTH        179
78 #define DEFAULT_MAINVIEW_WIDTH          600
79 #define DEFAULT_SUMMARY_HEIGHT          140
80 #define DEFAULT_HEADERVIEW_HEIGHT       40
81 #define DEFAULT_COMPOSE_HEIGHT          560
82 #define BORDER_WIDTH                    2
83 #define CTREE_INDENT                    18
84 #define FOLDER_SPACING                  4
85 #define COLOR_DIM                       35000
86
87 #define NORMAL_FONT     "-*-helvetica-medium-r-normal--12-*," \
88                         "-*-*-medium-r-normal--12-*-*-*-*-*-*-*,*"
89 #define BOLD_FONT       "-*-helvetica-bold-r-normal--12-*," \
90                         "-*-*-bold-r-normal--12-*-*-*-*-*-*-*,*"
91 #define SMALL_FONT      "-*-helvetica-medium-r-normal--10-*," \
92                         "-*-*-medium-r-normal--10-*-*-*-*-*-*-*,*"
93
94 #endif /* __DEFS_H__ */