diff options
author | saturneric <[email protected]> | 2023-10-16 16:38:40 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-10-16 16:38:40 +0000 |
commit | ea098a6bb8daef7b93c3b1703c22abf39cb800bd (patch) | |
tree | 81ce551a3d82013dfb17fa18cd1e5ede20839cbe /src/plugin/system/GpgFrontendPluginSystemExport.h | |
parent | fix: check and update copyright at files (diff) | |
download | GpgFrontend-ea098a6bb8daef7b93c3b1703c22abf39cb800bd.tar.gz GpgFrontend-ea098a6bb8daef7b93c3b1703c22abf39cb800bd.zip |
feat: using piml tech on plugin system
Diffstat (limited to '')
-rw-r--r-- | src/plugin/system/GpgFrontendPluginSystemExport.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/plugin/system/GpgFrontendPluginSystemExport.h b/src/plugin/system/GpgFrontendPluginSystemExport.h new file mode 100644 index 00000000..e096f0dc --- /dev/null +++ b/src/plugin/system/GpgFrontendPluginSystemExport.h @@ -0,0 +1,42 @@ + +#ifndef GPGFRONTEND_PLUGIN_SYSTEM_EXPORT_H +#define GPGFRONTEND_PLUGIN_SYSTEM_EXPORT_H + +#ifdef GPGFRONTEND_PLUGIN_SYSTEM_STATIC_DEFINE +# define GPGFRONTEND_PLUGIN_SYSTEM_EXPORT +# define GPGFRONTEND_PLUGIN_SYSTEM_NO_EXPORT +#else +# ifndef GPGFRONTEND_PLUGIN_SYSTEM_EXPORT +# ifdef gpgfrontend_plugin_system_EXPORTS + /* We are building this library */ +# define GPGFRONTEND_PLUGIN_SYSTEM_EXPORT __attribute__((visibility("default"))) +# else + /* We are using this library */ +# define GPGFRONTEND_PLUGIN_SYSTEM_EXPORT __attribute__((visibility("default"))) +# endif +# endif + +# ifndef GPGFRONTEND_PLUGIN_SYSTEM_NO_EXPORT +# define GPGFRONTEND_PLUGIN_SYSTEM_NO_EXPORT __attribute__((visibility("hidden"))) +# endif +#endif + +#ifndef GPGFRONTEND_PLUGIN_SYSTEM_DEPRECATED +# define GPGFRONTEND_PLUGIN_SYSTEM_DEPRECATED __attribute__ ((__deprecated__)) +#endif + +#ifndef GPGFRONTEND_PLUGIN_SYSTEM_DEPRECATED_EXPORT +# define GPGFRONTEND_PLUGIN_SYSTEM_DEPRECATED_EXPORT GPGFRONTEND_PLUGIN_SYSTEM_EXPORT GPGFRONTEND_PLUGIN_SYSTEM_DEPRECATED +#endif + +#ifndef GPGFRONTEND_PLUGIN_SYSTEM_DEPRECATED_NO_EXPORT +# define GPGFRONTEND_PLUGIN_SYSTEM_DEPRECATED_NO_EXPORT GPGFRONTEND_PLUGIN_SYSTEM_NO_EXPORT GPGFRONTEND_PLUGIN_SYSTEM_DEPRECATED +#endif + +#if 0 /* DEFINE_NO_DEPRECATED */ +# ifndef GPGFRONTEND_PLUGIN_SYSTEM_NO_DEPRECATED +# define GPGFRONTEND_PLUGIN_SYSTEM_NO_DEPRECATED +# endif +#endif + +#endif /* GPGFRONTEND_PLUGIN_SYSTEM_EXPORT_H */ |