fix build for --disable-gtk-doc
[swfdec.git] / swfdec / swfdec_version.h.in
blobd58b6f191a3e0f1081651ce6066ae4f7bf769a34
1 /* Swfdec
2 * Copyright (C) 2008 Benjamin Otte <otte@gnome.org>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library 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 GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301 USA
20 #ifndef __SWFDEC_VERSION_H__
21 #define __SWFDEC_VERSION_H__
24 #include <glib.h>
26 #define SWFDEC_VERSION_MAJOR (@SWFDEC_VERSION_MAJOR@)
27 #define SWFDEC_VERSION_MINOR (@SWFDEC_VERSION_MINOR@)
28 #define SWFDEC_VERSION_MICRO (@SWFDEC_VERSION_MICRO@)
30 #define SWFDEC_VERSION_STRING "@SWFDEC_VERSION@"
32 #define SWFDEC_VERSION_ENCODE(major, minor, micro) \
33 ((major) * 1000 * 1000 + (minor) * 1000 + (micro))
35 #define SWFDEC_VERSION SWFDEC_VERSION_ENCODE (SWFDEC_VERSION_MAJOR, SWFDEC_VERSION_MINOR, SWFDEC_VERSION_MICRO)
37 guint swfdec_version (void);
38 const char * swfdec_version_string (void);
40 #endif