source: pacpusframework/branches/0.0.x/include/Pacpus/kernel/FileLibConfig.h@ 210

Last change on this file since 210 was 116, checked in by Marek Kurdej, 11 years ago

Added: PacpusException - base class for all exceptions. DbiteExceptions inherits from it.
Added: PacpusLibConfig.h - dllimport/dllexport clauses separated from pacpus.h.
Update: comments.

  • Property svn:keywords set to Id
File size: 1.1 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 116 2013-06-25 11:44:25Z 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.