| 1 |
/* |
| 2 |
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/> |
| 3 |
* (C) 2020 Vladimir Sadovnikov <[email protected]> |
| 4 |
* |
| 5 |
* This file is part of lsp-r3d-iface |
| 6 |
* Created on: 3 мая 2020 г. |
| 7 |
* |
| 8 |
* lsp-r3d-iface is free software: you can redistribute it and/or modify |
| 9 |
* it under the terms of the GNU Lesser General Public License as published by |
| 10 |
* the Free Software Foundation, either version 3 of the License, or |
| 11 |
* any later version. |
| 12 |
* |
| 13 |
* lsp-r3d-iface is distributed in the hope that it will be useful, |
| 14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
* GNU Lesser General Public License for more details. |
| 17 |
* |
| 18 |
* You should have received a copy of the GNU Lesser General Public License |
| 19 |
* along with lsp-r3d-iface. If not, see <https://www.gnu.org/licenses/>. |
| 20 |
*/ |
| 21 |
|
| 22 |
#ifndef LSP_PLUG_IN_R3D_IFACE_VERSION_H_ |
| 23 |
#define LSP_PLUG_IN_R3D_IFACE_VERSION_H_ |
| 24 |
|
| 25 |
#define LSP_R3D_IFACE_MAJOR 1 |
| 26 |
#define LSP_R3D_IFACE_MINOR 0 |
| 27 |
#define LSP_R3D_IFACE_MICRO 29 |
| 28 |
|
| 29 |
#if defined(LSP_R3D_IFACE_PUBLISHER) |
| 30 |
#define LSP_R3D_IFACE_PUBLIC LSP_EXPORT_MODIFIER |
| 31 |
#elif defined(LSP_R3D_IFACE_BUILTIN) || defined(LSP_IDE_DEBUG) |
| 32 |
#define LSP_R3D_IFACE_PUBLIC |
| 33 |
#else |
| 34 |
#define LSP_R3D_IFACE_PUBLIC LSP_IMPORT_MODIFIER |
| 35 |
#endif |
| 36 |
|
| 37 |
#define LSP_R3D_IFACE_VERSION_FUNC_NAME "lsp_r3d_iface_version" |
| 38 |
|
| 39 |
#define LSP_R3D_IFACE_DEF_VERSION_FUNC \ |
| 40 |
const ::lsp::version_t *lsp_r3d_iface_version() \ |
| 41 |
{ \ |
| 42 |
static const ::lsp::version_t v=LSP_DEF_VERSION( \ |
| 43 |
LSP_R3D_IFACE_MAJOR, \ |
| 44 |
LSP_R3D_IFACE_MINOR, \ |
| 45 |
LSP_R3D_IFACE_MICRO); \ |
| 46 |
return &v; \ |
| 47 |
} |
| 48 |
|
| 49 |
#endif /* LSP_PLUG_IN_R3D_IFACE_VERSION_H_ */ |