~online-accounts/ubuntu/quantal/telepathy-mission-control-5/libaccounts

« back to all changes in this revision

Viewing changes to src/mcd-misc.h

  • Committer: Ken VanDine
  • Date: 2012-07-24 13:27:12 UTC
  • mfrom: (0.13.3)
  • Revision ID: ken.vandine@canonical.com-20120724132712-gytgqzzg8ry3f0kv
* New upstream release.
* debian/libmission-control-plugins0.symbols
  - new symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* vi: set et sw=4 ts=4 cino=t0,(0: */
2
 
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3
 
/*
4
 
 * This file is part of mission-control
5
 
 *
6
 
 * Copyright (C) 2007-2009 Nokia Corporation.
7
 
 * Copyright (C) 2009 Collabora Ltd.
8
 
 *
9
 
 * Contact: Alberto Mardegan  <alberto.mardegan@nokia.com>
10
 
 *
11
 
 * This library is free software; you can redistribute it and/or
12
 
 * modify it under the terms of the GNU Lesser General Public License
13
 
 * version 2.1 as published by the Free Software Foundation.
14
 
 *
15
 
 * This library is distributed in the hope that it will be useful, but
16
 
 * WITHOUT ANY WARRANTY; without even the implied warranty of
17
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
 
 * Lesser General Public License for more details.
19
 
 *
20
 
 * You should have received a copy of the GNU Lesser General Public
21
 
 * License along with this library; if not, write to the Free Software
22
 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
23
 
 * 02110-1301 USA
24
 
 *
25
 
 */
26
 
 
27
 
#ifndef MCD_MISC_H
28
 
#define MCD_MISC_H
29
 
 
30
 
#include <glib.h>
31
 
#include <glib-object.h>
32
 
#include <telepathy-glib/dbus.h>
33
 
#include <telepathy-glib/gtypes.h>
34
 
 
35
 
G_BEGIN_DECLS
36
 
 
37
 
GHashTable *_mcd_deepcopy_asv (GHashTable *asv);
38
 
 
39
 
gchar *_mcd_build_error_string (const GError *error);
40
 
 
41
 
typedef void (*McdReadyCb) (gpointer object, const GError *error,
42
 
                            gpointer user_data);
43
 
void _mcd_object_call_when_ready (gpointer object, GQuark quark,
44
 
                                  McdReadyCb callback, gpointer user_data);
45
 
void _mcd_object_call_on_struct_when_ready (gpointer object, gpointer strukt,
46
 
                                            GQuark quark, McdReadyCb callback,
47
 
                                            gpointer user_data);
48
 
void _mcd_object_ready (gpointer object, GQuark quark, const GError *error);
49
 
 
50
 
G_GNUC_INTERNAL
51
 
gboolean _mcd_file_set_contents (const gchar *filename, const gchar *contents,
52
 
                                 gssize length, GError **error);
53
 
G_GNUC_INTERNAL
54
 
void _mcd_ext_register_dbus_glib_marshallers (void);
55
 
 
56
 
G_GNUC_INTERNAL int _mcd_chmod_private (const gchar *filename);
57
 
 
58
 
G_END_DECLS
59
 
#endif /* MCD_MISC_H */