home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 September
/
Chip_2001-09_cd1.bin
/
zkuste
/
delphi
/
nastroje
/
d5
/
MFTP.ZIP
/
src
/
mftp.Inc
< prev
next >
Wrap
Text File
|
2001-03-17
|
4KB
|
109 lines
{
Header file of Monster FTP
Please backup this file and read the comment carefully before
you make any changes of this file.
}
{-$define COMPATIBLE} // If you got any trouble in upgrading old
// version, enable this
{-$define NODEBUG} // Disable debug support
{-$define DISPLAY_REAL_SIZE} // Display real size in bytes instead of
// approximate size in kilobytes in
// TMFtpListView
{-$define EXPORT_IMAGES} // Define this if you want to make something
// different
{-$define INCOMPLETE} // Enable/Disable incompleted code
{$define OPTIMIZATION} // Use optimized routines instead of ones
// in sysutils.pas
{-$define OVERLAY_MASK} // Display symbol-link as a shortcut in Explorer in
// TMFtpListView and TMFtpTreeView
{-$define NOPATCH} // No patch/fixes for those ftp servers which
// disobey RFC documents
{-$define USE_RETRYING_TIMER} // Use TTimer instead of repeat/until during
// the waiting time of two trying
{$define VIRTUAL_LISTVIEW} // Make TMFtpListView virtual
{$define WINSOCK2} // Determine weather use Winsock 2
{$define Y2K_DATE} // Display 4-digital year in TMFtpListView
{$ifdef VIRTUAL_LISTVIEW}
{$define DISPLAY_PARENT_DIRECTORY}
{$endif}
{$IFDEF VER120} // Delphi 4
{$define COMPILER_OK}
{$endif}
{$ifdef VER125} // C++ Builder 4
{$define COMPILER_OK}
{$endif}
{$IFDEF VER130} // Delphi 5
{$define COMPILER_OK}
{$define DELPHI5}
{$endif}
{$ifdef VER135} // C++ Builder 5
{$define COMPILER_OK}
{$define DELPHI5}
{$endif}
const
IN_BUFFER_SIZE = 4096; // Change the size of there two buffers
OUT_BUFFER_SIZE = 1514; // will take effect of the speed of
// downloading/uploading file
EVENT_COUNT = 16; // Just a counter
MAX_HANDLERS = 4; // Normally, you should not change this value
// if Register... always returns TRUE
MAX_PRELOAD_LEVEL = 2; // Specifies the levels of directories should be
// loaded from cache when one directory is
// selected. The value can be any unsigned
// integer number except zero
{$ifndef Y2KDATE}
const
DefaultDateTime = '1/1/80 12:00';
{$else}
const
DefaultDateTime = '1/1/1980 12:00';
{$endif}
// Localization
{$define ENGLISH} // you can choose your own language here
{$ifdef ENGLISH} {$I English.Msg} {$endif} // English
{$ifdef FRENCH} {$I Localization\French.Msg} {$endif} // French <Kostya>
{$ifdef GERMAN} {$I Localization\German.Msg} {$endif} // German <Dennis Gurock>
{$ifdef ITALIAN} {$I Localization\Italian.Msg} {$endif} // Italian <Martin Masci>
{$ifdef POLISH} {$I Localization\Polish.Msg} {$endif} // Polish <Tomasz Waraksa>
{$ifdef PORTUGUESE} {$I Localization\Portbz.Msg} {$endif} // Portuguese <Antonio Carlos Ribeiro Faria>
{$ifdef PORTUGUESE2} {$I Localization\Portbz-2.Msg} {$endif} // Portuguese <Cesar>
{$ifdef CHINESE} {$I Localization\Chinese.Msg} {$endif} // Simplified Chinese
{$ifdef SPANISH} {$I Localization\Spanish.Msg} {$endif} // Spanish <Jorge Rojas Mata>
{$ifdef SWEDISH} {$I Localization\SWEDISH.Msg} {$endif} // Swedish <Jesper Winer>
{$ifndef COMPILER_OK}
READ_FOLLOWING_LINES // this line stops compiler
{
Sorry, this version of MFTP requires
Delphi/C++ Builder 5 or later version.
}
const Error_Here = 'Error here!';
{$endif}