diff options
Diffstat (limited to 'lib/constants.h')
| -rw-r--r-- | lib/constants.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/constants.h b/lib/constants.h new file mode 100644 index 000000000..468dc08c1 --- /dev/null +++ b/lib/constants.h @@ -0,0 +1,30 @@ +// Copyright (c) 2000-2001 Brad Hughes <bhughes@trolltech.com> +// +// Use, modification and distribution is allowed without limitation, +// warranty, or liability of any kind. +// + +#ifndef __constants_h +#define __constants_h + +#define VERSION "MQ3 Release Fourteen" + +#if defined(Q_OS_UNIX) +//# include "../config.h" +# ifndef INSTALLDIR +# define INSTALLDIR "/usr/local" +# endif +#elif defined( Q_OS_WIN32 ) +# define INSTALLDIR "c:/depot/mq3/main" +#endif + +const unsigned int historySize = 100; +const unsigned int globalBlockSize = 2 * 1024; //2*1024 +const unsigned int globalBufferSize = globalBlockSize * 32; +const unsigned int groupOpenTimeout = 750; + +#if defined( Q_OS_WIN32 ) +#define BUFFERBLOCKS 16 +#endif + +#endif // __constants_h |
