summaryrefslogtreecommitdiff
path: root/src/mcd-connection-priv.h
blob: ac44b5296b34940aef195626d42ddb5d094903bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* vi: set et sw=4 ts=8 cino=t0,(0: */
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 8 -*- */
/*
 * This file is part of mission-control
 *
 * Copyright © 2007-2011 Nokia Corporation.
 * Copyright © 2009-2011 Collabora Ltd.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * version 2.1 as published by the Free Software Foundation.
 *
 * 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, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA
 *
 */

#ifndef __MCD_CONNECTION_PRIV_H__
#define __MCD_CONNECTION_PRIV_H__

#include "mcd-connection.h"

G_BEGIN_DECLS

G_GNUC_INTERNAL void _mcd_connection_request_presence (McdConnection *self,
    TpConnectionPresenceType type, const gchar *status, const gchar *message);

G_GNUC_INTERNAL void _mcd_connection_connect (McdConnection *connection,
                                              GHashTable *params);
G_GNUC_INTERNAL
void _mcd_connection_update_property (McdConnection *connection,
                                      const gchar *name, const GValue *value);
G_GNUC_INTERNAL
void _mcd_connection_set_tp_connection (McdConnection *connection,
                                        const gchar *bus_name,
                                        const gchar *obj_path, GError **error);

G_GNUC_INTERNAL void _mcd_connection_start_dispatching (McdConnection *self,
    GPtrArray *client_caps);

G_GNUC_INTERNAL gboolean _mcd_connection_is_ready (McdConnection *self);

G_GNUC_INTERNAL void _mcd_connection_set_avatar (McdConnection *self,
                                                 const GArray *avatar,
                                                 const gchar *mime_type);
G_GNUC_INTERNAL void _mcd_connection_update_client_caps (McdConnection *self,
    GPtrArray *client_caps);

G_GNUC_INTERNAL gboolean _mcd_connection_presence_info_is_ready (McdConnection *self);

G_GNUC_INTERNAL void _mcd_connection_take_emergency_numbers (McdConnection *self,
    GSList *numbers);

G_GNUC_INTERNAL gboolean _mcd_connection_target_id_is_urgent (McdConnection *connection,
    const gchar *name);

G_GNUC_INTERNAL gboolean _mcd_connection_target_handle_is_urgent (McdConnection *self,
    guint handle);

G_END_DECLS

#endif