libxcks  0.1.0.1
version.hpp
Go to the documentation of this file.
1 /*
2  * libxcks
3  * Copyright (C) 2022 Julien Couot
4  *
5  * This program is free software: you can redistribute it and/or modify it
6  * under the terms of the GNU Lesser General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or (at your
8  * option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
13  * License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this program. If not, see <https://www.gnu.org/licenses/>.
17  */
18 
25 #ifndef INC_VERSION_HPP_26AA3D67_9C74_4BC1_9F46_0DCACF039803
26 #define INC_VERSION_HPP_26AA3D67_9C74_4BC1_9F46_0DCACF039803
27 
28 //---------------------------------------------------------------------------
29 #include <string>
30 
31 #include "libxcks/verdefs.hpp"
32 #include "libxcks/export.hpp"
33 //---------------------------------------------------------------------------
34 
35 
36 namespace libxcks
37 {
38 // Gets the name of the library.
39 LIBXCKS_SO_EXPORT const std::string getLibraryName();
40 
41 // Gets the version of the library.
42 LIBXCKS_SO_EXPORT const std::string getLibraryVersion();
43 
44 // Gets the name and the version of the library.
45 LIBXCKS_SO_EXPORT const std::string getLibraryNameAndVersion();
46 //---------------------------------------------------------------------------
47 
48 } // namespace libxcks
49 //---------------------------------------------------------------------------
50 
51 #endif // INC_VERSION_HPP_26AA3D67_9C74_4BC1_9F46_0DCACF039803
OS dependent exports defines.
Version of the library in defines.
LIBXCKS_SO_EXPORT const std::string getLibraryVersion()
Gets the version of the library.
Definition: version.cpp:61
LIBXCKS_SO_EXPORT const std::string getLibraryName()
Gets the name of the library.
Definition: version.cpp:49
LIBXCKS_SO_EXPORT const std::string getLibraryNameAndVersion()
Gets the name and the version of the library.
Definition: version.cpp:73