From 2d622fd9bcb8da9dd3f3206e296cd6a701fc9d12 Mon Sep 17 00:00:00 2001 From: vovanec Date: Sat, 23 Jun 2007 16:48:01 +0000 Subject: moved into qmmp dir git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@12 90c681e8-e032-0410-971d-27865f9a5e38 --- lib/constants.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 lib/constants.h (limited to 'lib/constants.h') 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 +// +// 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 -- cgit v1.2.3-13-gbd6f