/* gstreamermm - a C++ wrapper for gstreamer
 *
 * Copyright 2008 The gstreamermm Development Team
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <gstreamermm/element.h>
_DEFS(gstreamermm,gst)

namespace Gst
{

_WRAP_ENUM(DPVersion, GstDPVersion)

/** Gst::GDPPay - gdppay plugin.
 * Please include <gstreamermm/gdppay.h> to use.  Please note that, though
 * using the underlying GObject is fine, using its C <B>type</B> is not
 * guaranteed to be API stable across releases because it is not guaranteed to
 * always remain the same.  Also, not all plug-ins are available on all systems
 * and the ones that aren't available are not included in the build.
 *
 * @ingroup GstPlugins
 */
class GDPPay
: public Gst::Element
{
  _CLASS_GOBJECT(GDPPay, GstGDPPay, GST_GD_P_PAY, Gst::Element, GstElement)

  _IS_GSTREAMERMM_PLUGIN

protected:
  GDPPay();
  GDPPay(const Glib::ustring& name);

public:
/** Creates a new gdppay plugin with a unique name.
 */
  _WRAP_CREATE()

/** Creates a new gdppay plugin with the given name.
 */
  _WRAP_CREATE(const Glib::ustring& name)

  _WRAP_PROPERTY("crc-header", bool)
  _WRAP_PROPERTY("crc-payload", bool)
  _WRAP_PROPERTY("version", DPVersion)

};

} //namespace Gst
