2
* Copyright 2013 Canonical Ltd.
5
* Charles Kerr <charles.kerr@canonical.com>
7
* This program is free software: you can redistribute it and/or modify it
8
* under the terms of the GNU General Public License version 3, as published
9
* by the Free Software Foundation.
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranties of
13
* MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
14
* PURPOSE. See the GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License along
17
* with this program. If not, see <http://www.gnu.org/licenses/>.
20
#ifndef __DBUS_UTILS_H__
21
#define __DBUS_UTILS_H__
24
#include <glib-object.h>
26
#include "dbus-accounts.h"
27
#include "dbus-display-manager.h"
28
#include "dbus-login1-manager.h"
29
#include "dbus-login1-seat.h"
31
typedef void (*indicator_session_util_session_proxies_func)(
32
Login1Manager * login1_manager,
33
Login1Seat * login1_seat,
34
DisplayManagerSeat * display_manager_seat,
35
Accounts * account_manager,
36
GCancellable * cancellable,
40
* Both users-dbus and guest-dbus need some of these proxies.
41
* Getting them all involves a lot of steps, so instead of repeating
42
* ourselves, the common dbus steps are extracted to this func.
44
void indicator_session_util_get_session_proxies (
45
indicator_session_util_session_proxies_func func,
46
GCancellable * cancellable,