]> git.sesse.net Git - mlt/blob - src/framework/mlt_version.h
Move to an interim version number.
[mlt] / src / framework / mlt_version.h
1 /**
2  * \file mlt_version.h
3  * \brief contains version information
4  *
5  * Copyright (C) 2010 Ushodaya Enterprises Limited
6  * \author Jonathan Thomas <Jonathan.Oomph@gmail.com>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library 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 GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21  */
22
23 #ifndef _MLT_VERSION_H_
24 #define _MLT_VERSION_H_
25
26 // Add quotes around any #define variables
27 #define STRINGIZE2(s)           #s
28 #define STRINGIZE(s)            STRINGIZE2(s)
29
30 #define LIBMLT_VERSION_MAJOR    0
31 #define LIBMLT_VERSION_MINOR    6
32 #define LIBMLT_VERSION_REVISION 3
33 #define LIBMLT_VERSION_INT      ((LIBMLT_VERSION_MAJOR<<16)+(LIBMLT_VERSION_MINOR<<8)+LIBMLT_VERSION_REVISION)
34 #define LIBMLT_VERSION          STRINGIZE(LIBMLT_VERSION_MAJOR.LIBMLT_VERSION_MINOR.LIBMLT_VERSION_REVISION)
35
36 extern int mlt_version_get_int( );
37 extern int mlt_version_get_major( );
38 extern int mlt_version_get_minor( );
39 extern int mlt_version_get_revision( );
40 extern char *mlt_version_get_string( );
41
42 #endif