~ubuntu-branches/ubuntu/precise/empathy/precise-proposed-201205180810

« back to all changes in this revision

Viewing changes to telepathy-yell/telepathy-yell/base-media-call-stream.h

  • Committer: Bazaar Package Importer
  • Author(s): Brian Curtis, Brian Curtis, Ken VanDine
  • Date: 2011-06-01 10:35:24 UTC
  • mfrom: (1.1.70 upstream) (6.3.44 experimental)
  • Revision ID: james.westby@ubuntu.com-20110601103524-wx3wgp71394730jt
Tags: 3.1.1-1ubuntu1
[ Brian Curtis ]
* Merge with Debian experimental, remaining Ubuntu changes:
* debian/control:
  - Drop geoclue/mapping build-depends (they are in Universe)
  - Add Vcz-Bzr link
  - Add Suggests on telepathy-idle
  - Bump telepathy-butterfly, telepathy-haze to recommends
  - Don't recommend the freedesktop sound theme we have an ubuntu one
  - Add build depend for libunity-dev
* debian/rules:
  - Use autoreconf.mk
  - Disable map and location
* debian/empathy.install:
  - Install message indicator configuration
* debian/indicators/empathy:
  - Message indicator configuration
* debian/patches/01_lpi.patch:
  - Add Launchpad integration
* debian/patches/10_use_notify_osd_icons.patch:
  - Use the notify-osd image for new messages
* debian/patches/34_start_raised_execpt_in_session.patch
  - If not started with the session, we should always raise
* debian/patches/36_chat_window_default_size.patch:
  - Make the default chat window size larger
* debian/patches/37_facebook_default.patch:
  - Make facebook the default chat account type
* debian/patches/38_lp_569289.patch
  - Set freenode as default IRC network for new IRC accounts 
* debian/patches/41_unity_launcher_progress.patch
  - Display file transfer progress in the unity launcher

[ Ken VanDine ]
* debian/control
  - build depend on libgcr-3-dev instead of libgcr-dev
  - dropped build depends for libindicate, we will use telepathy-indicator
  - Depend on dconf-gsettings-backend | gsettings-backend
  - Added a Recommends for telepathy-indicator
* +debian/empathy.gsettings-override
  - Added an override for notifications-focus
* debian/patches/series
  - commented out 23_idomessagedialog_for_voip_and_ft.patch, until ido has 
    been ported to gtk3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * gabble-call-stream.h - Header for TpyBaseMediaCallStream
3
 
 * Copyright (C) 2009 Collabora Ltd.
4
 
 * @author Sjoerd Simons <sjoerd.simons@collabora.co.uk>
5
 
 *
6
 
 * This library is free software; you can redistribute it and/or
7
 
 * modify it under the terms of the GNU Lesser General Public
8
 
 * License as published by the Free Software Foundation; either
9
 
 * version 2.1 of the License, or (at your option) any later version.
10
 
 *
11
 
 * This library is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14
 
 * Lesser General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU Lesser General Public
17
 
 * License along with this library; if not, write to the Free Software
18
 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
 
 */
20
 
 
21
 
#ifndef __TPY_BASE_MEDIA_CALL_STREAM_H__
22
 
#define __TPY_BASE_MEDIA_CALL_STREAM_H__
23
 
 
24
 
#include <glib-object.h>
25
 
 
26
 
#include <telepathy-yell/base-call-stream.h>
27
 
#include <telepathy-yell/call-stream-endpoint.h>
28
 
 
29
 
G_BEGIN_DECLS
30
 
 
31
 
typedef struct _TpyBaseMediaCallStream TpyBaseMediaCallStream;
32
 
typedef struct _TpyBaseMediaCallStreamPrivate TpyBaseMediaCallStreamPrivate;
33
 
typedef struct _TpyBaseMediaCallStreamClass TpyBaseMediaCallStreamClass;
34
 
typedef void (*TpyBaseMediaStreamFunc) (TpyBaseMediaCallStream *self);
35
 
typedef GPtrArray *(*TpyMediaStreamAddCandidatesFunc) (
36
 
    TpyBaseMediaCallStream *self,
37
 
    const GPtrArray *candidates,
38
 
    GError **error);
39
 
 
40
 
struct _TpyBaseMediaCallStreamClass {
41
 
    TpyBaseCallStreamClass parent_class;
42
 
 
43
 
    TpyMediaStreamAddCandidatesFunc add_local_candidates;
44
 
    TpyBaseMediaStreamFunc local_candidates_prepared;
45
 
};
46
 
 
47
 
struct _TpyBaseMediaCallStream {
48
 
    TpyBaseCallStream parent;
49
 
 
50
 
    TpyBaseMediaCallStreamPrivate *priv;
51
 
};
52
 
 
53
 
GType tpy_base_media_call_stream_get_type (void);
54
 
 
55
 
void tpy_base_media_call_stream_set_relay_info (
56
 
    TpyBaseMediaCallStream *self,
57
 
    const GPtrArray *relays);
58
 
void tpy_base_media_call_stream_set_stun_servers (
59
 
    TpyBaseMediaCallStream *self,
60
 
    const GPtrArray *stun_servers);
61
 
void tpy_base_media_call_stream_take_endpoint (
62
 
    TpyBaseMediaCallStream *self,
63
 
    TpyCallStreamEndpoint *endpoint);
64
 
GList *tpy_base_media_call_stream_get_endpoints (
65
 
    TpyBaseMediaCallStream *self);
66
 
void tpy_base_media_call_stream_set_transport (
67
 
    TpyBaseMediaCallStream *self,
68
 
    TpyStreamTransportType transport);
69
 
const gchar *tpy_base_media_call_stream_get_username (
70
 
    TpyBaseMediaCallStream *self);
71
 
const gchar *tpy_base_media_call_stream_get_password (
72
 
    TpyBaseMediaCallStream *self);
73
 
 
74
 
 
75
 
/* TYPE MACROS */
76
 
#define TPY_TYPE_BASE_MEDIA_CALL_STREAM \
77
 
  (tpy_base_media_call_stream_get_type ())
78
 
#define TPY_BASE_MEDIA_CALL_STREAM(obj) \
79
 
  (G_TYPE_CHECK_INSTANCE_CAST((obj), TPY_TYPE_BASE_MEDIA_CALL_STREAM, TpyBaseMediaCallStream))
80
 
#define TPY_BASE_MEDIA_CALL_STREAM_CLASS(klass) \
81
 
  (G_TYPE_CHECK_CLASS_CAST((klass), TPY_TYPE_BASE_MEDIA_CALL_STREAM, \
82
 
    TpyBaseMediaCallStreamClass))
83
 
#define TPY_IS_BASE_MEDIA_CALL_STREAM(obj) \
84
 
  (G_TYPE_CHECK_INSTANCE_TYPE((obj), TPY_TYPE_BASE_MEDIA_CALL_STREAM))
85
 
#define TPY_IS_BASE_MEDIA_CALL_STREAM_CLASS(klass) \
86
 
  (G_TYPE_CHECK_CLASS_TYPE((klass), TPY_TYPE_BASE_MEDIA_CALL_STREAM))
87
 
#define TPY_BASE_MEDIA_CALL_STREAM_GET_CLASS(obj) \
88
 
  (G_TYPE_INSTANCE_GET_CLASS ((obj), TPY_TYPE_BASE_MEDIA_CALL_STREAM, \
89
 
    TpyBaseMediaCallStreamClass))
90
 
 
91
 
 
92
 
 
93
 
G_END_DECLS
94
 
 
95
 
#endif /* #ifndef __TPY_BASE_MEDIA_CALL_STREAM_H__*/