~d-nelson/research-assistant/nextDNK

« back to all changes in this revision

Viewing changes to RANet/RANet_global.h

  • Committer: Viktor Bursian
  • Date: 2013-06-06 13:42:39 UTC
  • Revision ID: vbursian@gmail.com-20130606134239-bx5ks8sg3y9oqckz
Tags: version_0.2.0
first usable version 0.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
////////////////////////////////////////////////////////////////////////////////
 
2
/*! @file RANet_global.h   Управление компиляцией.
 
3
- Part of RANet - Research Assistant Net Library (based on ANSI C++).
 
4
- Copyright(C) 2010, Viktor E. Bursian, St.Petersburg, Russia.
 
5
                     Viktor.Bursian@mail.ioffe.ru
 
6
*///////////////////////////////////////////////////////////////////////////////
 
7
#ifndef RANet_global_H
 
8
#define RANet_global_H
 
9
#include <QtCore/qglobal.h>
 
10
namespace RA {
 
11
//------------------------------------------------------------------------------
 
12
 
 
13
#if defined(RANET_LIBRARY_BUILD)
 
14
    #define RANet_EXPORT Q_DECL_EXPORT
 
15
#elif defined(RANET_LIBRARY_USE)
 
16
    #define RANet_EXPORT Q_DECL_IMPORT
 
17
#else
 
18
    #define RANet_EXPORT
 
19
#endif
 
20
 
 
21
#define RANET_DEBUG
 
22
 
 
23
#ifdef RANET_DEBUG
 
24
  #define IF_DEBUG(XXX) XXX
 
25
#else
 
26
  #define IF_DEBUG(XXX)
 
27
#endif
 
28
 
 
29
//------------------------------------------------------------------------------
 
30
}; //namespace RA
 
31
#endif //RANet_global_H