libpurple/protocols/demo/purpledemoprotocolmedia.h

Thu, 11 Aug 2022 21:26:10 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Thu, 11 Aug 2022 21:26:10 -0500
changeset 41487
86b6cbbee778
permissions
-rw-r--r--

Add a stub VV implementation to demo protocol

This doesn't really do anything, because libpurple without a backend doesn't do
any further signalling. But at least we'll get a contact with the option to
start a media session.

Testing Done:
Compiled and pressed the Audio/Video Call menu item.

Reviewed at https://reviews.imfreedom.org/r/1580/

/*
 * Purple - Internet Messaging Library
 * Copyright (C) Pidgin Developers <devel@pidgin.im>
 *
 * 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 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, see <https://www.gnu.org/licenses/>.
 */

#ifndef PURPLE_DEMO_PROTOCOL_MEDIA_H
#define PURPLE_DEMO_PROTOCOL_MEDIA_H

#include <glib.h>

#include <purple.h>

G_GNUC_INTERNAL void purple_demo_protocol_media_init(PurpleProtocolMediaInterface *iface);

#endif /* PURPLE_DEMO_PROTOCOL_MEDIA_H */

mercurial