[go: up one dir, main page]

File: toconf.h

package info (click to toggle)
tora 1.3.16-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 11,604 kB
  • ctags: 10,426
  • sloc: cpp: 100,338; sh: 5,034; perl: 1,482; makefile: 566; xml: 69
file content (187 lines) | stat: -rw-r--r-- 6,824 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
/*****
 *
 * TOra - An Oracle Toolkit for DBA's and developers
 * Copyright (C) 2003-2005 Quest Software, Inc
 * Portions Copyright (C) 2005 Other Contributors
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation;  only version 2 of
 * the License is valid for this program.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 *      As a special exception, you have permission to link this program
 *      with the Oracle Client libraries and distribute executables, as long
 *      as you follow the requirements of the GNU GPL in regard to all of the
 *      software in the executable aside from Oracle client libraries.
 *
 *      Specifically you are not permitted to link this program with the
 *      Qt/UNIX, Qt/Windows or Qt Non Commercial products of TrollTech.
 *      And you are not permitted to distribute binaries compiled against
 *      these libraries without written consent from Quest Software, Inc.
 *      Observe that this does not disallow linking to the Qt Free Edition.
 *
 *      You may link this product with any GPL'd Qt library such as Qt/Free
 *
 * All trademarks belong to their respective owners.
 *
 *****/

#ifndef TOCONF_H
#define TOCONF_H

#define CONF_PROVIDER		"Provider"
#define DEFAULT_PROVIDER	"Oracle"
#define CONF_SAVE_PWD		"SavePassword"
#define DEFAULT_SAVE_PWD	""
#define CONF_PASSWORD		"DefaultPassword"
#define DEFAULT_PASSWORD	""
#define CONF_DATABASE		"DefaultDatabase"
#define DEFAULT_DATABASE	""
#define CONF_USER		"DefaultUser"
#define DEFAULT_USER		"system"
#define CONF_HOST		"Host"
#define DEFAULT_HOST		"localhost"
#define CONF_OPTIONS		"Options"
#define DEFAULT_OPTIONS		""
#define CONF_MAX_NUMBER		"MaxNumber"
#define DEFAULT_MAX_NUMBER	"50"
#define CONF_MAX_COL_SIZE	"MaxColSize"
#define DEFAULT_MAX_COL_SIZE	"30000"
#define CONF_MAX_COL_DISP	"MaxColDisp"
#define DEFAULT_MAX_COL_DISP	"300"
#define CONF_PLAN_TABLE		"PlanTable"
#define DEFAULT_PLAN_TABLE	"PLAN_TABLE"
#define CONF_PLAN_CHECKPOINT	"PlanCheckpoint"
#define DEFAULT_PLAN_CHECKPOINT	"TORA_CHECKPOINT"
#define CONF_TEXT		"ConfText"
#define CONF_CODE		"ConfCode"
#define CONF_LIST		"ListText"
#define CONF_DATE_FORMAT	"ConfDateFormat"
#define DEFAULT_DATE_FORMAT	"YYYY-MM-DD HH24:MI:SS"
#define CONF_REFRESH		"Refresh"
#define DEFAULT_REFRESH		"None"
#define CONF_HIGHLIGHT		"SyntaxHighlight"
#define CONF_KEYWORD_UPPER	"KeywordUpper"
#define DEFAULT_KEYWORD_UPPER	""
#define CONF_COLOR		"KeywordColor"
#define CONF_PLUGIN_DIR		"PluginDir"
#define CONF_CACHE_DIR		"CacheDir"
#define CONF_CACHE_DISK		"CacheDiskUse"
#define DEFAULT_CACHE_DISK	"Yes"
#define CONF_SQL_FILE		"SQLDictionary"
#define DEFAULT_SQL_FILE	"$HOME/.torasql"
#define CONF_DESKTOP_AWARE	"DesktopAware"
#define CONF_STATUS_MESSAGE     "StatusMessage"
#define DEFAULT_STATUS_MESSAGE  "5"
#define CONF_QT_XFT             "Xft"
#define DEFAULT_QT_XFT          "false"
#define CONF_DOCK_TOOLBAR	"DockToolbar"
#define CONF_DB_TITLE		"DBTitle"
#define CONF_SIZE_UNIT		"SizeUnit"
#define DEFAULT_SIZE_UNIT	"MB"
#define CONF_HELP_PATH		"HelpPath"
#define CONF_STATUS_SAVE	"StatusSave"
#define DEFAULT_STATUS_SAVE	"10"
#define CONF_AUTO_COMMIT	"AutoCommit"
#define CONF_CHANGE_CONNECTION	"ChangeConnection"
#define CONF_CONNECT_HISTORY	"ConnectHistory"
#define CONF_CONNECT_SIZE	"ConnectSize"
#define CONF_CONNECT_CURRENT	"ConnectCurrent"
#define DEFAULT_CONNECT_SIZE	"20"
#define CONF_DEFAULT_TOOL	"DefaultTool"
#define CONF_TOOL_ENABLE	"Enabled"
#define CONF_CHART_SAMPLES	"ChartSamples"
#define DEFAULT_CHART_SAMPLES	"100"
#define CONF_DISPLAY_SAMPLES	"DisplaySamples"
#define DEFAULT_DISPLAY_SAMPLES	"-1"
#define CONF_CODE_COMPLETION	"CodeComplete"
#define CONF_COMPLETION_SORT	"CompleteSort"
#define CONF_MAXIMIZE_MAIN	"MaximizeMain"
#define CONF_AUTO_INDENT	"AutoIndent"
#define CONF_DONT_REREAD	"DontReread"
#define CONF_AUTO_LONG		"AutoLong"
#define CONF_MESSAGE_STATUSBAR	"MessageStatusbar"
#define CONF_OBJECT_CACHE	"ObjectCache"
#define DEFAULT_OBJECT_CACHE	"1"
#define CONF_BKGND_CONNECT	"BackgroundConnect"
#define CONF_MAX_CONTENT	"MaxContent"
#define DEFAULT_MAX_CONTENT	"100"
#define CONF_KEEP_PLANS		"KeepPlans"
#define CONF_RESTORE_SESSION	"RestoreSession"
#define CONF_DEFAULT_SESSION	"DefaultSession"
#define DEFAULT_SESSION		"$HOME/.tora.tse"
#define CONF_TOOLS_LEFT		"ToolsLeft"
#define CONF_DEFAULT_FORMAT	"DefaultFormat"
#define CONF_CSV_SEPARATOR	"CSVSeparator"
#define DEFAULT_CSV_SEPARATOR	";"
#define CONF_CSV_DELIMITER	"CSVDelimiter"
#define DEFAULT_CSV_DELIMITER	"\""
#define CONF_AUTO_INDENT_RO	"AutoIndent"
#define CONF_INDICATE_EMPTY	"IndicateEmpty"
#define CONF_EXTENSIONS  	"Extensions"
#define CONF_RECENT_FILES	"RecentFiles"
#define CONF_RECENT_MAX		"RecentMax"
#define DEFAULT_RECENT_MAX	"5"
#define CONF_LAST_DIR		"LastDir"
#define CONF_LOCALE		"Locale"
#define CONF_KEEP_ALIVE		"KeepAlive"
#define DEFAULT_KEEP_ALIVE	"300"
#define CONF_NUMBER_FORMAT	"NumberFormat"
#define DEFAULT_NUMBER_FORMAT	"0"
#define CONF_NUMBER_DECIMALS	"NumberDecimals"
#define DEFAULT_NUMBER_DECIMALS	"2"
#define CONF_CACHE_TIMEOUT	"CacheTimeout"
#define DEFAULT_CACHE_TIMEOUT	"7"
#define CONF_TAB_STOP		"TabStop"
#define DEFAULT_TAB_STOP	"8"
#define CONF_TOAD_BINDINGS	"ToadBindings"
#define DEFAULT_TOAD_BINDINGS	""
#define CONF_DISPLAY_GRIDLINES	"Gridlines"
#define DEFAULT_DISPLAY_GRIDLINES "Yes"

#ifdef TO_KDE
#define DEFAULT_EXTENSIONS	"*.sql *.pkg *.pkb|SQL files\n*.txt|Text files\n*|All files"
#else
#define DEFAULT_EXTENSIONS	"SQL (*.sql *.pkg *.pkb), Text (*.txt), All (*)"
#endif

#ifndef TO_KDE
#  ifndef WIN32
// Undefining this will leave out the style selection option stuff from the program
#    define ENABLE_STYLE
// Undefining this will enable choosing Qt_Xft support
#    define ENABLE_QT_XFT
#  endif
#endif
#define CONF_STYLE		"Style"
#define DEFAULT_STYLE		"Windows"
#ifdef WIN32
// Wether to build monolithic TOra or not (Without plugin support
#  define TOMONOLITHIC
#  define DEFAULT_PLUGIN_DIR ""
#endif
// Version of TOra, must also change rpm files
#ifndef TOAPPNAME
#  define TOAPPNAME		"TOra"
#endif

#define TOHOMEPAGE		"http://tora.sourceforge.net"

#ifndef TOVERSION
#  define TOVERSION               "1.3.16"
#endif
// Stable or development version of TOra
#define TOTYPE			"DEVELOP"

#define TO_KDE_TOOLBAR_WIDGET	"kde toolbar widget"

#endif