2013-10-20 12:34:55 +00:00
|
|
|
#ifndef SYSTEM_GLOBAL_H
|
|
|
|
#define SYSTEM_GLOBAL_H
|
|
|
|
|
2015-11-18 18:37:00 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#ifdef __MINGW32__
|
|
|
|
#define Q_DECL_EXPORT __declspec(dllexport)
|
|
|
|
#define Q_DECL_IMPORT __declspec(dllimport)
|
|
|
|
#else
|
2013-11-11 12:56:39 +00:00
|
|
|
#define PAYSAGES_USE_INLINING 1
|
2015-11-18 18:37:00 +00:00
|
|
|
#define Q_DECL_EXPORT __attribute__((visibility("default")))
|
|
|
|
#define Q_DECL_IMPORT __attribute__((visibility("default")))
|
2014-03-01 00:34:34 +00:00
|
|
|
#endif
|
2013-11-11 12:56:39 +00:00
|
|
|
|
2013-10-20 14:47:59 +00:00
|
|
|
#if defined(SYSTEM_LIBRARY)
|
2015-11-09 21:30:46 +00:00
|
|
|
#define SYSTEMSHARED_EXPORT Q_DECL_EXPORT
|
2013-10-20 14:47:59 +00:00
|
|
|
#else
|
2015-11-09 21:30:46 +00:00
|
|
|
#define SYSTEMSHARED_EXPORT Q_DECL_IMPORT
|
2013-10-20 14:47:59 +00:00
|
|
|
#endif
|
2013-10-20 12:34:55 +00:00
|
|
|
|
2013-11-11 12:56:39 +00:00
|
|
|
namespace paysages {
|
|
|
|
namespace system {
|
2015-11-09 21:30:46 +00:00
|
|
|
class Logs;
|
|
|
|
class PackStream;
|
|
|
|
class ParallelWork;
|
|
|
|
class ParallelPool;
|
|
|
|
class ParallelWorker;
|
|
|
|
class Thread;
|
|
|
|
class Mutex;
|
|
|
|
class Semaphore;
|
|
|
|
class PictureWriter;
|
|
|
|
class Time;
|
2013-11-11 12:56:39 +00:00
|
|
|
}
|
2013-10-20 12:34:55 +00:00
|
|
|
}
|
|
|
|
using namespace paysages::system;
|
2013-10-20 13:24:58 +00:00
|
|
|
|
2013-10-20 12:34:55 +00:00
|
|
|
#endif // SYSTEM_GLOBAL_H
|