// Generated by generate_plugin_gmmproc_file. Don't edit this file.


_PINCLUDE(gstreamermm/private/element_p.h)

extern "C"
{

static GType gst_tee_pull_mode_get_type()
{
  static GType const type = g_type_from_name("GstTeePullMode");
  return type;
}

GType gst_tee_gstreamermm_get_type()
{
  static GType type = 0;
  GstElementFactory* factory = 0;
  GstPluginFeature* feature = 0;

  if(!type)
  {
    factory = gst_element_factory_find("tee");
    // Make sure that the feature is actually loaded:
    if(factory)
    {
      feature =
        gst_plugin_feature_load(GST_PLUGIN_FEATURE(factory));

      g_object_unref(factory);
      factory = GST_ELEMENT_FACTORY(feature);
      type = gst_element_factory_get_element_type(factory);
      g_object_unref(factory);
    }
  }

  return type;
}

} // extern "C"

namespace Gst
{

Tee::Tee()
: _CONSTRUCT("name", static_cast<char*>(0))
{}

Tee::Tee(const Glib::ustring& name)
: _CONSTRUCT("name", name.c_str())
{}

}
