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 __INDICATOR_SESSION_BACKEND_H__
21
#define __INDICATOR_SESSION_BACKEND_H__
23
#include <gio/gio.h> /* GCancellable */
32
* Gets instances of the backend abstract base classes.
33
* These are how IndicatorSystemService knows what's happening on the system.
35
* This function isn't defined in libindicatorsessionservice.
36
* Instead, one of two implementations is statically linked at build time:
37
* one for production in libbackenddbus (in src/backend-dbus/) or
38
* one for testing in libbackendmock (in tests/).
40
void backend_get (GCancellable * cancellable,
41
IndicatorSessionActions ** setme_actions,
42
IndicatorSessionUsers ** setme_users,
43
IndicatorSessionGuest ** setme_guest);