|
|
//*************************************************************************** /* * TOra - An Oracle Toolkit for DBA's and developers * Copyright (C) 2000-2001,2001 Underscore AB * * 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 Underscore AB. Observe * that this does not disallow linking to the Qt Free Edition. * * 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 "SQL*Net" #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 CONF_COLOR "KeywordColor" #define CONF_PLUGIN_DIR "PluginDir" #define CONF_SQL_FILE "SQLDictionary" #define DEFAULT_SQL_FILE "$HOME/.torasql" #define CONF_LIST_SCALE "ListScale" #define DEFAULT_LIST_SCALE "0.8" #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_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_CACHE_CONNECT "CacheConnect" #define CONF_BKGND_CONNECT "BackgroundConnect" #define CONF_MAX_CONTENT "MaxContent" #define DEFAULT_MAX_CONTENT "100" #define CONF_KEEP_PLANS "KeepPlans" #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 #define TOVERSION "1.2.3" #endif