Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:14:59

0001 #ifndef GAUDIPLUGINSERVICE_GAUDI_DETAILS_PLUGINSERVICECOMMON_H
0002 #define GAUDIPLUGINSERVICE_GAUDI_DETAILS_PLUGINSERVICECOMMON_H
0003 
0004 #ifndef _GAUDI_PLUGIN_SERVICE_COMMON_H_
0005 /*****************************************************************************\
0006 * (c) Copyright 2013 CERN                                                     *
0007 *                                                                             *
0008 * This software is distributed under the terms of the GNU General Public      *
0009 * Licence version 3 (GPL Version 3), copied verbatim in the file "LICENCE".   *
0010 *                                                                             *
0011 * In applying this licence, CERN does not waive the privileges and immunities *
0012 * granted to it by virtue of its status as an Intergovernmental Organization  *
0013 * or submit itself to any jurisdiction.                                       *
0014 \*****************************************************************************/
0015 
0016 /// @author Marco Clemencic <marco.clemencic@cern.ch>
0017 
0018 #  ifndef GAUDI_PLUGIN_SERVICE_USE_V2
0019 #    if defined( GAUDI_PLUGIN_SERVICE_V2 ) || !defined( GAUDI_PLUGIN_SERVICE_V1 )
0020 #      define GAUDI_PLUGIN_SERVICE_V2_INLINE inline
0021 #      define GAUDI_PLUGIN_SERVICE_V1_INLINE
0022 #      define GAUDI_PLUGIN_SERVICE_USE_V2 1
0023 #    else
0024 #      define GAUDI_PLUGIN_SERVICE_V2_INLINE
0025 #      define GAUDI_PLUGIN_SERVICE_V1_INLINE inline
0026 #      define GAUDI_PLUGIN_SERVICE_USE_V2 0
0027 #    endif
0028 #  endif
0029 
0030 #  if __GNUC__ >= 4
0031 #    define GAUDIPS_HASCLASSVISIBILITY
0032 #  endif
0033 
0034 #  if defined( GAUDIPS_HASCLASSVISIBILITY )
0035 #    define GAUDIPS_IMPORT __attribute__( ( visibility( "default" ) ) )
0036 #    define GAUDIPS_EXPORT __attribute__( ( visibility( "default" ) ) )
0037 #    define GAUDIPS_LOCAL __attribute__( ( visibility( "hidden" ) ) )
0038 #  else
0039 #    define GAUDIPS_IMPORT
0040 #    define GAUDIPS_EXPORT
0041 #    define GAUDIPS_LOCAL
0042 #  endif
0043 
0044 #  ifdef GaudiPluginService_EXPORTS
0045 #    define GAUDIPS_API GAUDIPS_EXPORT
0046 #  else
0047 #    define GAUDIPS_API GAUDIPS_IMPORT
0048 #  endif
0049 
0050 #endif
0051 
0052 #endif