source: pacpusframework/branches/2.0-beta1/include/Pacpus/kernel/FileLibConfig.h@ 89

Last change on this file since 89 was 89, checked in by morasjul, 11 years ago

PACPUS 2.0 Beta deployed in new branch

Major changes:
-Add communication interface between components
-Add examples for communications interface (TestComponents)
-Move to Qt5 support

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1// %pacpus:license{
2// This file is part of the PACPUS framework distributed under the
3// CECILL-C License, Version 1.0.
4// %pacpus:license}
5/// @file
6/// @author Marek Kurdej <firstname.surname@utc.fr>
7/// @date January, 2013
8/// @version $Id: FileLibConfig.h 76 2013-01-10 17:05:10Z kurdejma $
9/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
10/// @brief DLL import/export macro definitions file.
11///
12/// DLL import/export macro definitions file.
13/// Declares \<library name\>_API macro as __declspec(dllexport) or __declspec(dllimport)
14/// on Windows system and as an empty macro on other systems.
15/// DLL exporting is performed when \<library name\>_EXPORTS is defined.
16
17#ifndef DEF_PACPUS_FILELIBCONFIG_H
18#define DEF_PACPUS_FILELIBCONFIG_H
19
20// Export macro for FileLib DLL for Windows only
21#ifdef WIN32
22# ifdef FILELIB_EXPORTS
23 // make DLL
24# define FILELIB_API __declspec(dllexport)
25# else
26 // use DLL
27# define FILELIB_API __declspec(dllimport)
28# endif
29#else
30 // On other platforms, simply ignore this
31# define FILELIB_API
32#endif
33
34#endif // DEF_PACPUS_FILELIBCONFIG_H
Note: See TracBrowser for help on using the repository browser.