aboutsummaryrefslogtreecommitdiff
path: root/lib/constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/constants.h')
-rw-r--r--lib/constants.h29
1 files changed, 9 insertions, 20 deletions
diff --git a/lib/constants.h b/lib/constants.h
index 468dc08c1..ee558f3a9 100644
--- a/lib/constants.h
+++ b/lib/constants.h
@@ -1,21 +1,14 @@
-// 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
-#ifndef __constants_h
-#define __constants_h
+#ifdef Q_OS_UNIX
+#include "config.h"
+#endif
-#define VERSION "MQ3 Release Fourteen"
+#define VERSION "0.2.0"
-#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"
+#ifndef LIB_DIR
+#define LIB_DIR "/lib"
#endif
const unsigned int historySize = 100;
@@ -23,8 +16,4 @@ 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
+#endif // CONSTANTS_H