2013-10-20 14:47:59 +00:00
|
|
|
#ifndef RENDERING_GLOBAL_H
|
|
|
|
#define RENDERING_GLOBAL_H
|
|
|
|
|
|
|
|
/* Shared object helpers */
|
|
|
|
#ifdef __cplusplus
|
|
|
|
# include <QtCore/qglobal.h>
|
|
|
|
#else
|
|
|
|
# if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
|
|
|
|
# define Q_DECL_EXPORT __declspec(dllexport)
|
|
|
|
# define Q_DECL_IMPORT __declspec(dllimport)
|
|
|
|
# else
|
|
|
|
# define Q_DECL_EXPORT
|
|
|
|
# define Q_DECL_IMPORT
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
#if defined(RENDERING_LIBRARY)
|
|
|
|
# define RENDERINGSHARED_EXPORT Q_DECL_EXPORT
|
|
|
|
#else
|
|
|
|
# define RENDERINGSHARED_EXPORT Q_DECL_IMPORT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Namespace using */
|
2013-10-29 20:28:59 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
namespace paysages
|
|
|
|
{
|
|
|
|
namespace system {}
|
|
|
|
namespace rendering {}
|
|
|
|
}
|
|
|
|
using namespace paysages::system;
|
|
|
|
using namespace paysages::rendering;
|
|
|
|
#endif
|
2013-10-20 14:47:59 +00:00
|
|
|
|
|
|
|
/* Global import */
|
|
|
|
|
|
|
|
#endif // RENDERING_GLOBAL_H
|