Gnash  0.8.10
gnash_gst_version.h
Go to the documentation of this file.
00001 /* GStreamer
00002  * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
00003  *                    2000 Wim Taymans <wtay@chello.be>
00004  *
00005  * gstversion.h: Version information for GStreamer
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Library General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2 of the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Library General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Library General Public
00018  * License along with this library; if not, write to the
00019  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00020  * Boston, MA 02111-1307, USA.
00021  */
00022 
00023 /*
00024  * NOTE: this file is derived from gst/gstversion.h. However, since no
00025  * nontrivial modifications were made it does not meet the originality
00026  * requirements for copyrightability of derivative works. The copyright
00027  * of this file, therefore, remains with the original authors.
00028  */
00029 
00030 #ifndef __GNASH_GST_VERSION_H__
00031 #define __GNASH_GST_VERSION_H__
00032 
00033 #include <gst/gst.h>
00034 
00035 G_BEGIN_DECLS
00036 
00037 #ifndef GST_CHECK_VERSION
00038 #define GST_CHECK_VERSION(major,minor,micro)    \
00039     (GST_VERSION_MAJOR > (major) || \
00040      (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR > (minor)) || \
00041      (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR == (minor) && \
00042       GST_VERSION_MICRO >= (micro)))
00043 #endif
00044 
00045 #if GST_CHECK_VERSION(0,10,13)
00046 # define GNASH_GST_PLUGIN_DEFINE GST_PLUGIN_DEFINE
00047 #else
00048 # define GNASH_GST_PLUGIN_DEFINE GST_PLUGIN_DEFINE_STATIC
00049 #endif
00050 
00051 G_END_DECLS
00052 
00053 #endif /* __GNASH_GST_VERSION_H__ */