aboutsummaryrefslogtreecommitdiff
path: root/lib/constants.h
blob: 468dc08c141cd97a3d20d55c43ee2413373368b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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