|
|
//*************************************************************************** /* * TOra - An Oracle Toolkit for DBA's and developers * Copyright (C) 2003 Quest Software, Inc * * 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. * * 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_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 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_UPGRADE_CHECK "UpdateCheck" #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" #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 #ifndef TOVERSION # define TOVERSION "1.3.13" #endif // Stable or development version of TOra #define TOTYPE "DEVELOP" #define TO_KDE_TOOLBAR_WIDGET "kde toolbar widget" #endif