1 /* Copyright (C) <2021> Thibault Saunier <tsaunier@igalia.com> 2 * 3 * This library is free software; you can redistribute it and/or modify it under the terms of the 4 * GNU Library General Public License as published by the Free Software Foundation; either version 2 5 * of the License, or (at your option) any later version. 6 * 7 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without 8 * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 9 * Library General Public License for more details. 10 * 11 * You should have received a copy of the GNU Library General Public License along with this 12 * library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 13 * Boston, MA 02110-1301, USA. 14 */ 15 16 #pragma once 17 18 #include <wpe/webkit-web-extension.h> 19 #include <gio/gunixfdlist.h> 20 #include <gst/gst.h> 21 #include <gst/base/gstbasesink.h> 22 23 void gst_wpe_extension_send_message (WebKitUserMessage *msg, GCancellable *cancellable, GAsyncReadyCallback cb, gpointer udata); 24 25 G_DECLARE_FINAL_TYPE (GstWpeAudioSink, gst_wpe_audio_sink, GST, WPE_AUDIO_SINK, GstBaseSink); 26 G_DECLARE_FINAL_TYPE (GstWpeBusMsgForwarder, gst_wpe_bus_msg_forwarder, GST, WPE_BUS_MSG_FORWARDER, GstTracer);