Squidstat API User Manual
Loading...
Searching...
No Matches
AisSquidstatGlobal.h
1
#pragma once
2
3
#include <QtGlobal>
4
5
/*
6
* For the API:
7
* - We should only use the SQUIDSTATLIBRARY_EXPORT macro
8
* - Any class that should be exposed to the user should be marked with SQUIDSTATLIBRARY_EXPORT
9
* For the SUI:
10
* - We should only use the SUI_SQUIDSTATLIBRARY_EXPORT macro
11
* - It will expose some internal members of the API that are shared among different libraries in the SUI
12
* - TODO: remove all the different libraries so dependencies are less complicated
13
*/
14
15
#ifndef BUILD_STATIC
16
#if defined(SQUIDSTATLIBRARY_LIB)
17
#define SQUIDSTATLIBRARY_EXPORT Q_DECL_EXPORT
18
#if defined(SUI_BUILD)
19
#define SUI_SQUIDSTATLIBRARY_EXPORT Q_DECL_EXPORT
20
#else
21
#define SUI_SQUIDSTATLIBRARY_EXPORT
22
#endif
23
#else
24
#define SQUIDSTATLIBRARY_EXPORT Q_DECL_IMPORT
25
#if defined(SUI_BUILD)
26
#define SUI_SQUIDSTATLIBRARY_EXPORT Q_DECL_IMPORT
27
#else
28
#define SUI_SQUIDSTATLIBRARY_EXPORT
29
#endif
30
#endif
31
#else
32
#define SQUIDSTATLIBRARY_EXPORT
33
#define SUI_SQUIDSTATLIBRARY_EXPORT
34
#endif
35
include
AisSquidstatGlobal.h
Generated by
1.9.5