1
/* vi: set et sw=4 ts=4 cino=t0,(0: */
2
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
4
* This file is part of mission-control
6
* Copyright (C) 2007-2009 Nokia Corporation.
7
* Copyright (C) 2009 Collabora Ltd.
9
* Contact: Alberto Mardegan <alberto.mardegan@nokia.com>
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.
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.
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
31
#include <glib-object.h>
32
#include <telepathy-glib/dbus.h>
33
#include <telepathy-glib/gtypes.h>
37
GHashTable *_mcd_deepcopy_asv (GHashTable *asv);
39
gchar *_mcd_build_error_string (const GError *error);
41
typedef void (*McdReadyCb) (gpointer object, const GError *error,
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,
48
void _mcd_object_ready (gpointer object, GQuark quark, const GError *error);
51
gboolean _mcd_file_set_contents (const gchar *filename, const gchar *contents,
52
gssize length, GError **error);
54
void _mcd_ext_register_dbus_glib_marshallers (void);
56
G_GNUC_INTERNAL int _mcd_chmod_private (const gchar *filename);
59
#endif /* MCD_MISC_H */