This commit was manufactured by cvs2svn to create tag 'LAST_STABLE'.
[claws.git] / src / defs.h
blob1ee48fad031bc5df51263eabc8a76a013b95f847
1 /*
2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2002 Hiroyuki Yamamoto
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.
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.
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.
20 #ifndef __DEFS_H__
21 #define __DEFS_H__
23 #ifdef HAVE_CONFIG_H
24 # include "config.h"
25 #endif
27 #if HAVE_PATHS_H
28 # include <paths.h>
29 #endif
31 #if HAVE_SYS_PARAM_H
32 # include <sys/param.h>
33 #endif
35 #define INBOX_DIR "inbox"
36 #define OUTBOX_DIR "sent"
37 #define QUEUE_DIR "queue"
38 #define DRAFT_DIR "draft"
39 #define TRASH_DIR "trash"
40 #define RC_DIR ".sylpheed"
41 #define NEWS_CACHE_DIR "newscache"
42 #define IMAP_CACHE_DIR "imapcache"
43 #define MBOX_CACHE_DIR "mboxcache"
44 #define HEADER_CACHE_DIR "headercache"
45 #define MIME_TMP_DIR "mimetmp"
46 #define COMMON_RC "sylpheedrc"
47 #define ACCOUNT_RC "accountrc"
48 #define FILTER_RC "filterrc"
49 #define CUSTOM_HEADER_RC "customheaderrc"
50 #define DISPLAY_HEADER_RC "dispheaderrc"
51 #define FOLDERITEM_RC "folderitemrc"
52 #define SCORING_RC "scoringrc"
53 #define FILTERING_RC "filteringrc"
54 #define MATCHER_RC "matcherrc"
55 #define ACTIONS_RC "actionsrc"
56 #define MENU_RC "menurc"
57 #define RENDERER_RC "rendererrc"
58 #define COMMAND_HISTORY "command_history"
59 #define TEMPLATE_DIR "templates"
60 #define NEWSGROUP_LIST ".newsgroup_list"
61 #define ADDRESS_BOOK "addressbook.xml"
62 #define MANUAL_HTML_INDEX "sylpheed.html"
63 #define FAQ_HTML_INDEX "sylpheed-faq.html"
64 #define HOMEPAGE_URI "http://sylpheed.good-day.net/"
65 #define FOLDER_LIST "folderlist.xml"
66 #define CACHE_FILE ".sylpheed_cache"
67 #define MARK_FILE ".sylpheed_mark"
68 #define CACHE_VERSION 20
69 #define MARK_VERSION 2
71 #define DEFAULT_SIGNATURE ".signature"
72 #define DEFAULT_INC_PATH "/usr/bin/mh/inc"
73 #define DEFAULT_INC_PROGRAM "inc"
74 /* #define DEFAULT_INC_PATH "/usr/bin/imget" */
75 /* #define DEFAULT_INC_PROGRAM "imget" */
76 #define DEFAULT_SENDMAIL_CMD "/usr/sbin/sendmail -t"
78 #ifdef _PATH_MAILDIR
79 # define DEFAULT_SPOOL_PATH _PATH_MAILDIR
80 #else
81 # define DEFAULT_SPOOL_PATH "/var/spool/mail"
82 #endif
84 #define BUFFSIZE 8192
86 #ifndef MAXPATHLEN
87 # define MAXPATHLEN 4095
88 #endif
90 #define DEFAULT_HEIGHT 460
91 #define DEFAULT_FOLDERVIEW_WIDTH 179
92 #define DEFAULT_MAINVIEW_WIDTH 600
93 #define DEFAULT_SUMMARY_HEIGHT 140
94 #define DEFAULT_HEADERVIEW_HEIGHT 40
95 #define DEFAULT_COMPOSE_HEIGHT 560
96 #define BORDER_WIDTH 2
97 #define CTREE_INDENT 18
98 #define FOLDER_SPACING 4
99 #define MAX_ENTRY_LENGTH 8191
100 #define COLOR_DIM 35000
101 #define UI_REFRESH_INTERVAL 50000 /* usec */
102 #define SESSION_TIMEOUT 60 /* sec */
103 #define MAX_HISTORY_SIZE 16
105 #define NORMAL_FONT prefs_common.normalfont
106 #define BOLD_FONT prefs_common.boldfont
107 #define SMALL_FONT prefs_common.smallfont
109 #define DEFAULT_PIXMAP_THEME "INTERNAL_DEFAULT"
110 #define PIXMAP_THEME_DIR "themes"
112 #endif /* __DEFS_H__ */