-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
47 lines (30 loc) · 857 Bytes
/
config.h
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* $Id: config.h,v 1.3 2003/10/14 11:29:01 inou Exp $
*/
#ifndef CONFIG_H
#define CONFIG_H
#ifndef PLUGIN
#include <qglobal.h>
#ifndef PATH_MAX
#include <limits.h>
#endif
#ifdef Q_OS_WIN
extern char PLUGIN_PATH[PATH_MAX], COLORMAP_PATH[PATH_MAX];
#else // Q_OS_WIN
#ifdef Q_OS_MAC
extern char PLUGIN_PATH[PATH_MAX], COLORMAP_PATH[PATH_MAX];
#else
//#define PLUGIN_PATH "/home/inou/prog/qfract4-mt/plugins"
//#define COLORMAP_PATH "/home/inou/prog/qfract4-mt/colormaps"
#define PLUGIN_PATH "/Users/inou/prog/qfract4-mt/plugins"
#define COLORMAP_PATH "/Users/inou/prog/qfract4-mt/colormaps"
#endif // Q_OS_MAC
#endif // Q_OS_WIN
#endif // PLUGIN
#define DEFAULT_PLUGIN "quadratic.so"
#define DEFAULT_COLORMAP "default.map"
// for boost::thread
const int XDIV = 2;
const int YDIV = 2;
const int NUM_THREADS = XDIV*YDIV;
#endif // CONFIG_H