mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 03:01:07 +08:00
Move include files to include directory.
This commit is contained in:
@ -1,82 +0,0 @@
|
||||
// Common constants
|
||||
const
|
||||
|
||||
// Carriage return / Line feed
|
||||
CRLF = #13#10;
|
||||
|
||||
// Names of the system tables and system databases
|
||||
PRIVTABLE_USERS = 'user';
|
||||
PRIVTABLE_DB = 'db';
|
||||
PRIVTABLE_TABLES = 'tables_priv';
|
||||
PRIVTABLE_COLUMNS = 'columns_priv';
|
||||
DBNAME_INFORMATION_SCHEMA = 'information_schema';
|
||||
DBNAME_MYSQL = 'mysql';
|
||||
LOCAL_HOST = '127.0.0.1';
|
||||
MYSQL_PORT = 3306;
|
||||
|
||||
// Related field things
|
||||
TBLTYPE_AUTOMATIC: String = '<Automatic>';
|
||||
TEMPFIELDNAME = 'temp_fieldname';
|
||||
|
||||
// General things
|
||||
APPNAME = 'HeidiSQL';
|
||||
REGPATH = 'Software\' + APPNAME;
|
||||
STATUS_MSG_READY = 'Ready.';
|
||||
STR_NOTSUPPORTED = 'Not supported by this server';
|
||||
// Used by ListViews
|
||||
COLOR_SORTCOLUMN = $00F7F7F7;
|
||||
|
||||
// Used by maskSQL and fixSQL:
|
||||
SQL_VERSION_ANSI = -1;
|
||||
|
||||
// Used for simulating a TTreeNode which has subnodes
|
||||
DUMMY_NODE_TEXT : String = 'Dummy node, should never be visible';
|
||||
|
||||
// Used for SQL Log display limit (prevents color display errors)
|
||||
SQLLOG_CHAR_LIMIT = 2000;
|
||||
|
||||
// Registry name for storing list of displayed columns
|
||||
REGNAME_DISPLAYEDCOLUMNS = 'DisplayedColumns';
|
||||
REGNAME_SORTDISPLAYEDCOLUMNS = 'DisplayedColumnsSorted';
|
||||
REGNAME_LISTTABLESCOLUMNNAMES = 'ListTablesColumnNames';
|
||||
|
||||
REGPREFIX_COLWIDTHS = 'ColWidths_';
|
||||
REGPREFIX_COLSVISIBLE = 'ColsVisible_';
|
||||
REGPREFIX_COLPOS = 'ColPositions_';
|
||||
|
||||
// how much memory we're aiming to use for the
|
||||
// data grid and it's automatic limit function
|
||||
// this value should probably be user configurable
|
||||
LOAD_SIZE = 5*1024*1024;
|
||||
|
||||
// Various iconindexes
|
||||
ICONINDEX_PRIMARYKEY = 26;
|
||||
ICONINDEX_FIELD = 62;
|
||||
ICONINDEX_INDEXKEY = 63;
|
||||
ICONINDEX_UNIQUEKEY = 64;
|
||||
ICONINDEX_FULLTEXTKEY = 65;
|
||||
|
||||
// Size of byte units
|
||||
{KiloByte} SIZE_KB = 1024;
|
||||
{MegaByte} SIZE_MB = 1048576;
|
||||
{GigaByte} SIZE_GB = 1073741824;
|
||||
{TeraByte} SIZE_TB = 1099511627776;
|
||||
{PetaByte} SIZE_PB = 1125899906842624;
|
||||
|
||||
// Abbreviations of byte unit names
|
||||
{Bytes} NAME_BYTES = ' B';
|
||||
{KiloByte} NAME_KB = ' KB';
|
||||
{MegaByte} NAME_MB = ' MB';
|
||||
{GigaByte} NAME_GB = ' GB';
|
||||
{TeraByte} NAME_TB = ' TB';
|
||||
{PetaByte} NAME_PB = ' PB';
|
||||
|
||||
// See reference: mysql.cpp Ver 14.12 Distrib 5.0.45, for Win32 (ia32): Line 112
|
||||
DEFAULT_DELIMITER = ';';
|
||||
|
||||
// Copied constants from [delphi11]\source\win32\rtl\win\ShlObj.pas to make them
|
||||
// available in Delphi 10. We don't use the constants from ShlObj until delphi 10
|
||||
// support is removed.
|
||||
CSIDL_COMMON_APPDATA = $0023; { All Users\Application Data }
|
||||
CSIDL_APPDATA = $001a; { <user name>\Application Data }
|
||||
|
Reference in New Issue
Block a user