aboutsummaryrefslogtreecommitdiff
path: root/lib/constants.h
diff options
context:
space:
mode:
authorvovanec <vovanec@90c681e8-e032-0410-971d-27865f9a5e38>2007-06-23 16:48:01 +0000
committervovanec <vovanec@90c681e8-e032-0410-971d-27865f9a5e38>2007-06-23 16:48:01 +0000
commit2d622fd9bcb8da9dd3f3206e296cd6a701fc9d12 (patch)
treef92135e6cb831e46336dfd4ade47e03ef3a19ac5 /lib/constants.h
parent4b6a6720805c585c89f44fd276b3ace8670514d9 (diff)
downloadqmmp-2d622fd9bcb8da9dd3f3206e296cd6a701fc9d12.tar.gz
qmmp-2d622fd9bcb8da9dd3f3206e296cd6a701fc9d12.tar.bz2
qmmp-2d622fd9bcb8da9dd3f3206e296cd6a701fc9d12.zip
moved into qmmp dir
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@12 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'lib/constants.h')
-rw-r--r--lib/constants.h30
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