Ansel
0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dbus.h
Go to the documentation of this file.
1
/*
2
This file is part of darktable,
3
Copyright (C) 2009-2011 johannes hanika.
4
Copyright (C) 2012 Richard Wonka.
5
Copyright (C) 2012-2014, 2016-2017 Tobias Ellinghaus.
6
Copyright (C) 2016 Roman Lebedev.
7
Copyright (C) 2020 Pascal Obry.
8
Copyright (C) 2022 Martin BaĆinka.
9
10
darktable is free software: you can redistribute it and/or modify
11
it under the terms of the GNU General Public License as published by
12
the Free Software Foundation, either version 3 of the License, or
13
(at your option) any later version.
14
15
darktable is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with darktable. If not, see <http://www.gnu.org/licenses/>.
22
*/
23
24
#pragma once
25
26
#include <glib.h>
27
#include <gio/gio.h>
28
29
typedef
struct
dt_dbus_t
30
{
31
int
connected
;
32
33
GDBusNodeInfo *
introspection_data
;
34
guint
owner_id
;
35
guint
registration_id
;
36
37
// used for client actions on the bus
38
GDBusConnection *
dbus_connection
;
39
}
dt_dbus_t
;
40
42
dt_dbus_t
*
dt_dbus_init
();
43
45
void
dt_dbus_destroy
(
const
dt_dbus_t
*);
46
49
gboolean
dt_dbus_connected
(
const
dt_dbus_t
*);
50
51
// clang-format off
52
// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
53
// vim: shiftwidth=2 expandtab tabstop=2 cindent
54
// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
55
// clang-format on
56
dt_dbus_init
dt_dbus_t * dt_dbus_init()
Definition
dbus.c:136
dt_dbus_destroy
void dt_dbus_destroy(const dt_dbus_t *)
Definition
dbus.c:156
dt_dbus_connected
gboolean dt_dbus_connected(const dt_dbus_t *)
Definition
dbus.c:170
dt_dbus_t
Definition
dbus.h:30
dt_dbus_t::dbus_connection
GDBusConnection * dbus_connection
Definition
dbus.h:38
dt_dbus_t::introspection_data
GDBusNodeInfo * introspection_data
Definition
dbus.h:33
dt_dbus_t::connected
int connected
Definition
dbus.h:31
dt_dbus_t::registration_id
guint registration_id
Definition
dbus.h:35
dt_dbus_t::owner_id
guint owner_id
Definition
dbus.h:34
src
common
dbus.h
Generated by
1.9.8