libbluray
bluray-version.h
Go to the documentation of this file.
1 /*
2  * This file is part of libbluray
3  * Copyright (C) 2011 hpi1
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library. If not, see
17  * <http://www.gnu.org/licenses/>.
18  */
19 
25 #ifndef BLURAY_VERSION_H_
26 #define BLURAY_VERSION_H_
27 
29 #define BLURAY_VERSION_CODE(major, minor, micro) \
30  (((major) * 10000) + \
31  ((minor) * 100) + \
32  ((micro) * 1))
33 
35 #define BLURAY_VERSION_MAJOR 1
36 
38 #define BLURAY_VERSION_MINOR 3
39 
41 #define BLURAY_VERSION_MICRO 4
42 
44 #define BLURAY_VERSION_STRING "1.3.4"
45 
47 #define BLURAY_VERSION \
48  BLURAY_VERSION_CODE(BLURAY_VERSION_MAJOR, BLURAY_VERSION_MINOR, BLURAY_VERSION_MICRO)
49 
50 #endif /* BLURAY_VERSION_H_ */