LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
AbstractFactoryPatternExport.h
Go to the documentation of this file.
1// Copyright 2002-2013 CEA LIST
2// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3//
4// SPDX-License-Identifier: MIT
5
6/************************************************************************
7 *
8 * @file AbstractFactoryPatternExport.h
9 * @author Gael de Chalendar <Gael.de-Chalendar@cea.fr>
10
11 * @date Sept, 12 2012
12 * copyright Copyright (C) 2012 by CEA LIST
13 * Project LIMA
14 *
15 * @brief symbol exportation defines for Windows DLL
16 *
17 ***********************************************************************/
18#ifndef LIMA_ABSTRACTFACTORYPATTERNEXPORT_H
19#define LIMA_ABSTRACTFACTORYPATTERNEXPORT_H
20
21
22#include <boost/serialization/strong_typedef.hpp>
23
24#ifdef WIN32
25
26
27#ifdef LIMA_FACTORY_EXPORTING
28#define LIMA_FACTORY_EXPORT __declspec(dllexport)
29#define EXPIMP_TEMPLATE
30#else
31#define LIMA_FACTORY_EXPORT __declspec(dllimport)
32#define EXPIMP_TEMPLATE extern
33#endif
34
35
36#else // Not WIN32
37
38#define EXPIMP_TEMPLATE
39
40#define LIMA_FACTORY_EXPORT
41
42#endif
43
44
45#endif // LIMA_ABSTRACTFACTORYPATTERNEXPORT_H