Statistics
| Revision:

root / src / defs.h @ 1

History | View | Annotate | Download (3.37 KB)

1
/*
2
 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3
 * Copyright (C) 1999-2004 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 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-2.0"
41
#define NEWS_CACHE_DIR                "newscache"
42
#define IMAP_CACHE_DIR                "imapcache"
43
#define MIME_TMP_DIR                "mimetmp"
44
#define COMMON_RC                "sylpheedrc"
45
#define ACCOUNT_RC                "accountrc"
46
#define FILTER_RC                "filterrc"
47
#define FILTER_LIST                "filter.xml"
48
#define FILTER_HEADER_RC        "filterheaderrc"
49
#define CUSTOM_HEADER_RC        "customheaderrc"
50
#define DISPLAY_HEADER_RC        "dispheaderrc"
51
#define MENU_RC                        "menurc"
52
#define ACTIONS_RC                "actionsrc"
53
#define COMMAND_HISTORY                "command_history"
54
#define TEMPLATE_DIR                "templates"
55
#define TMP_DIR                        "tmp"
56
#define NEWSGROUP_LIST                ".newsgroup_list"
57
#define ADDRESS_BOOK                "addressbook.xml"
58
#define MANUAL_HTML_INDEX        "sylpheed.html"
59
#define FAQ_HTML_INDEX                "sylpheed-faq.html"
60
#define HOMEPAGE_URI                "http://sylpheed.good-day.net/"
61
#define FOLDER_LIST                "folderlist.xml"
62
#define CACHE_FILE                ".sylpheed2_cache"
63
#define MARK_FILE                ".sylpheed_mark"
64
#define CACHE_VERSION                19
65
#define MARK_VERSION                2
66

    
67
#define DEFAULT_SIGNATURE        ".signature"
68
#define DEFAULT_INC_PATH        "/usr/bin/mh/inc"
69
#define DEFAULT_INC_PROGRAM        "inc"
70
/* #define DEFAULT_INC_PATH        "/usr/bin/imget" */
71
/* #define DEFAULT_INC_PROGRAM        "imget" */
72
#define DEFAULT_SENDMAIL_CMD        "/usr/sbin/sendmail -t -i"
73
#define DEFAULT_BROWSER_CMD        "mozilla-firefox -remote 'openURL(%s,new-window)'"
74

    
75
#ifdef _PATH_MAILDIR
76
#  define DEFAULT_SPOOL_PATH        _PATH_MAILDIR
77
#else
78
#  define DEFAULT_SPOOL_PATH        "/var/spool/mail"
79
#endif
80

    
81
#define BUFFSIZE                        8192
82

    
83
#ifndef MAXPATHLEN
84
#  define MAXPATHLEN                        4095
85
#endif
86

    
87
#define DEFAULT_HEIGHT                        460
88
#define DEFAULT_FOLDERVIEW_WIDTH        179
89
#define DEFAULT_MAINVIEW_WIDTH                600
90
#define DEFAULT_SUMMARY_HEIGHT                140
91
#define DEFAULT_HEADERVIEW_HEIGHT        40
92
#define DEFAULT_COMPOSE_HEIGHT                560
93
#define BORDER_WIDTH                        2
94
#define CTREE_INDENT                        18
95
#define FOLDER_SPACING                        4
96
#define MAX_ENTRY_LENGTH                8191
97
#define COLOR_DIM                        35000
98
#define UI_REFRESH_INTERVAL                50000        /* usec */
99
#define FOLDER_UPDATE_INTERVAL                1500        /* msec */
100
#define PROGRESS_UPDATE_INTERVAL        200        /* msec */
101
#define SESSION_TIMEOUT_INTERVAL        60        /* sec */
102
#define MAX_HISTORY_SIZE                16
103

    
104
#define DEFAULT_NORMAL_FONT        "Helvetica 12"
105
#define DEFAULT_MESSAGE_FONT        "Helvetica 14"
106
#define DEFAULT_BOLD_FONT        "Helvetica Bold 12"
107
#define DEFAULT_SMALL_FONT        "Helvetica 10"
108
#define DEFAULT_TITLE_FONT        "Helvetica 16"
109

    
110
#endif /* __DEFS_H__ */