2
* Copyright (C) 2011 Tuomo Penttinen, all rights reserved.
4
* Author: Tuomo Penttinen <tp@herqq.org>
6
* This file is part of Herqq UPnP Av (HUPnPAv) library.
8
* Herqq UPnP Av is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
13
* Herqq UPnP Av 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 General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with Herqq UPnP Av. If not, see <http://www.gnu.org/licenses/>.
22
#ifndef HUPNPAVINFO_H_
23
#define HUPNPAVINFO_H_
25
#include <HUpnpAv/HUpnpAv>
29
* This file contains information of the HUPnPAv library.
42
* This is the major version of the HUPnPAv library with which this header
45
* This value is useful for compile time checks.
47
* \sa Herqq::Upnp::Av::hupnpAvVersion()
49
#define HUPNP_AV_MAJOR_VERSION 0
52
* This is the minor version of the HUPnPAv library with which this header
55
* This value is useful for compile time checks.
57
* \sa Herqq::Upnp::Av::hupnpAvVersion()
59
#define HUPNP_AV_MINOR_VERSION 0
62
* This is the patch version of the HUPnPAv library with which this header
65
* This value is useful for compile time checks.
67
* \sa Herqq::Upnp::Av::hupnpAvVersion()
69
#define HUPNP_AV_PATCH_VERSION 1
72
* This is the version of the HUPnPAv library with which this header
75
* This value is useful for compile time checks.
77
* \sa Herqq::Upnp::Av::hupnpAvVersion()
79
#define HUPNP_AV_VERSION STRX(HUPNP_AV_MAJOR_VERSION.HUPNP_AV_MINOR_VERSION.HUPNP_AV_PATCH_VERSION)
82
* \brief Returns the runtime version of the HUPnPAv library as a string.
84
* You can use this function to query the version of the HUPnPAv library
87
* For compile time checks you may use the macros:
88
* - HUPNP_AV_MAJOR_VERSION,
89
* - HUPNP_AV_MINOR_VERSION,
90
* - HUPNP_AV_PATCH_VERSION and
93
* \return The runtime version of the HUPnPAv library as a string.
94
* The format is <c>major.minor.patch</c>.
96
* \remarks The returned string is statically allocated. You should never
97
* delete or free it manually.
99
H_UPNP_AV_EXPORT const char* hupnpAvVersion();
105
#endif /* HUPNPAVINFO_H_ */