1 |
// qsampler.cpp |
// qsampler.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2015, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2016, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007, 2008 Christian Schoenebeck |
Copyright (C) 2007, 2008 Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
33 |
#include <QDir> |
#include <QDir> |
34 |
#endif |
#endif |
35 |
|
|
|
#define CONFIG_QUOTE1(x) #x |
|
|
#define CONFIG_QUOTED(x) CONFIG_QUOTE1(x) |
|
|
|
|
|
#if defined(DATADIR) |
|
|
#define CONFIG_DATADIR CONFIG_QUOTED(DATADIR) |
|
|
#else |
|
|
#define CONFIG_DATADIR CONFIG_PREFIX "/share" |
|
|
#endif |
|
|
|
|
36 |
#if WIN32 |
#if WIN32 |
37 |
#define RELATIVE_LOCALE_DIR "/share/locale" |
#define RELATIVE_LOCALE_DIR "/share/locale" |
38 |
#elif defined(__APPLE__) |
#elif defined(__APPLE__) |