diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-02-23 01:15:11 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-06-09 17:20:05 +0800 |
commit | 0754b2673f0189e892074189535d3dfb6fd2a662 (patch) | |
tree | baca0c535fa88e5253c8c14895f7833d9e499cad /libempathy-gtk/empathy-call-utils.h | |
parent | f72a2717725a4865ebd313f7a496bd0e4f99baca (diff) | |
download | gsoc2013-empathy-0754b2673f0189e892074189535d3dfb6fd2a662.tar gsoc2013-empathy-0754b2673f0189e892074189535d3dfb6fd2a662.tar.gz gsoc2013-empathy-0754b2673f0189e892074189535d3dfb6fd2a662.tar.bz2 gsoc2013-empathy-0754b2673f0189e892074189535d3dfb6fd2a662.tar.lz gsoc2013-empathy-0754b2673f0189e892074189535d3dfb6fd2a662.tar.xz gsoc2013-empathy-0754b2673f0189e892074189535d3dfb6fd2a662.tar.zst gsoc2013-empathy-0754b2673f0189e892074189535d3dfb6fd2a662.zip |
Move empathy_call_* util functions to libempathy-gtk
Since we want to pop up a dialog when starting a call fails.
Conflicts:
libempathy/empathy-utils.c
Diffstat (limited to 'libempathy-gtk/empathy-call-utils.h')
-rw-r--r-- | libempathy-gtk/empathy-call-utils.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-call-utils.h b/libempathy-gtk/empathy-call-utils.h new file mode 100644 index 000000000..1bea52f6a --- /dev/null +++ b/libempathy-gtk/empathy-call-utils.h @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2011 Collabora Ltd. + * + * The code contained in this file 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 file 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 code; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + * Authors: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> + */ + +#ifndef __EMPATHY_CALL_UTILS_H__ +#define __EMPATHY_CALL_UTILS_H__ + +#include <libempathy/empathy-contact.h> + +G_BEGIN_DECLS + +/* Calls */ +void empathy_call_new_with_streams (EmpathyContact *contact, + gboolean initial_audio, + gboolean initial_video, + gint64 timestamp); + +GHashTable * empathy_call_create_call_request ( + EmpathyContact *contact, + gboolean initial_audio, + gboolean initial_video); + +GHashTable * empathy_call_create_streamed_media_request ( + EmpathyContact *contact, + gboolean initial_audio, + gboolean initial_video); + +G_END_DECLS + +#endif /* __EMPATHY_CALL_UTILS_H__ */ |