1 #ifndef _KVI_DEFAULTS_H_
2 #define _KVI_DEFAULTS_H_
3 //=============================================================================
4 //
5 //   File : kvi_defaults.h
6 //   Creation date : Wed Jun 21 2000 13:23:13 CEST by Szymon Stefanek
7 //
8 //   This file is part of the KVIrc IRC client distribution
9 //   Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net)
10 //
11 //   This program is FREE software. You can redistribute it and/or
12 //   modify it under the terms of the GNU General Public License
13 //   as published by the Free Software Foundation; either version 2
14 //   of the License, or (at your option) any later version.
15 //
16 //   This program is distributed in the HOPE that it will be USEFUL,
17 //   but WITHOUT ANY WARRANTY; without even the implied warranty of
18 //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 //   See the GNU General Public License for more details.
20 //
21 //   You should have received a copy of the GNU General Public License
22 //   along with this program. If not, write to the Free Software Foundation,
23 //   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 //
25 //=============================================================================
26 
27 /**
28 * \file kvi_defaults.h
29 * \author Szymon Stefanek
30 * \brief This file contains (more or less) freely customizable compile time defaults
31 *
32 * You can safely play with the ones you understand the meaning of
33 *
34 * \def KVI_HOME_CONFIG_FILE_NAME Configuration file in home directory
35 * \def KVI_DEFAULT_INCOMING_SUBDIRECTORY_NAME Directory for incoming DCC files
36 * \def KVI_DEFAULT_NICKNAME_TOKEN The substitution token for default nicknames
37 * \def KVI_DEFAULT_NICKNAME1 Default Nickname
38 * \def KVI_DEFAULT_NICKNAME2 Alternative nickname 2 token
39 * \def KVI_DEFAULT_NICKNAME3 Alternative nickname 3 token
40 * \def KVI_DEFAULT_NICKNAME4 Alternative nickname 4 token
41 * \def KVI_DEFAULT_USERNAME Username
42 * \def KVI_DEFAULT_REALNAME Realname
43 * \def KVI_DEFAULT_PART_MESSAGE Part message
44 * \def KVI_DEFAULT_QUIT_MESSAGE Quit message
45 * \def KVI_DEFAULT_CTCP_USERINFO_REPLY Reply to CTCP USERINFO
46 * \def KVI_DEFAULT_CTCP_PAGE_REPLY Reply to CTCP PAGE
47 * \def KVI_DEFAULT_AWAY_MESSAGE Away message
48 * \def KVI_DEFAULT_AWAY_NICK Nickname when in away mode
49 * \def KVI_MAX_PENDING_AVATARS Maximum number of avatars to download simultaneously
50 * \def KVI_MAX_RECENT_SERVERS Maximum number of servers to hold in "recent" menu
51 * \def KVI_MAX_RECENT_CHANNELS Maximum number of channels to hold in "recent" menu
52 * \def KVI_MAX_RECENT_NICKNAMES Maximum number of nicknames to hold in "recent" menu
53 * \def KVI_MAX_RECENT_TOPICS Maximum number of topics to hold in "recent" menu
54 */
55 
56 #include "kvi_settings.h"
57 
58 #if defined(COMPILE_ON_WINDOWS) || defined(COMPILE_ON_MINGW)
59 #define KVI_HOME_CONFIG_FILE_NAME "kvirc4.ini"
60 #else
61 #define KVI_HOME_CONFIG_FILE_NAME ".kvirc4.rc"
62 #endif
63 
64 #define KVI_FORCE_LOCALE_FILE_NAME ".kvirc_force_locale"
65 
66 #define KVI_DEFAULT_INCOMING_SUBDIRECTORY_NAME "Downloads"
67 
68 #define KVI_DEFAULT_NICKNAME_TOKEN "%nick%"
69 
70 #define KVI_DEFAULT_NICKNAME1 "newbie"
71 #define KVI_DEFAULT_NICKNAME2 "%nick%|2"
72 #define KVI_DEFAULT_NICKNAME3 "%nick%|3"
73 #define KVI_DEFAULT_NICKNAME4 "%nick%|4"
74 #define KVI_DEFAULT_USERNAME "kvirc"
75 #define KVI_DEFAULT_REALNAME "KVIrc $version(v) $version(n) http://kvirc.net/"
76 
77 #define KVI_DEFAULT_PART_MESSAGE "No boundaries on the net!"
78 #define KVI_DEFAULT_QUIT_MESSAGE "KVIrc $version(v) $version(n) http://www.kvirc.net/"
79 #define KVI_DEFAULT_CTCP_USERINFO_REPLY "I'm too lazy to edit this field."
80 #define KVI_DEFAULT_CTCP_PAGE_REPLY "Your message has been received and logged"
81 #define KVI_DEFAULT_AWAY_MESSAGE "I'm off to see the wizard."
82 #define KVI_DEFAULT_AWAY_NICK "%nick%|NotHere"
83 
84 #define KVI_MAX_PENDING_AVATARS 20
85 #define KVI_MAX_RECENT_SERVERS 10
86 #define KVI_MAX_RECENT_CHANNELS 30
87 #define KVI_MAX_RECENT_NICKNAMES 10
88 #define KVI_MAX_RECENT_TOPICS 20
89 
90 #endif //_KVI_DEFAULTS_H_
91