Debian Codegraph @

src/dvdnav/version.h.in

raw
1 /*
2 * This file is part of libdvdnav, a DVD navigation library.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2.1 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program; if not, write to the Free Software Foundation,
16 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
17 */
18 #ifndef LIBDVDNAV_VERSION_H
19 #define LIBDVDNAV_VERSION_H
20
21 #define DVDNAV_VERSION_CODE(major, minor, micro) \
22 (((major) * 10000) + \
23 ((minor) * 100) + \
24 ((micro) * 1))
25
26 #define DVDNAV_VERSION_MAJOR @DVDNAV_MAJOR@
27 #define DVDNAV_VERSION_MINOR @DVDNAV_MINOR@
28 #define DVDNAV_VERSION_MICRO @DVDNAV_SUB@
29
30 #define DVDNAV_VERSION_STRING "@DVDNAV_MAJOR@.@DVDNAV_MINOR@.@DVDNAV_SUB@"
31
32 #define DVDNAV_VERSION \
33 DVDNAV_VERSION_CODE(DVDNAV_VERSION_MAJOR, DVDNAV_VERSION_MINOR, DVDNAV_VERSION_MICRO)
34
35 #endif