blob: 54a2819b151850cd3af57dacd7598d35d9c24a86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Authors:
* Soren Berg <glimmer07@gmail.com>
*
* Copyright (C) 2009 Authors
*
* Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#ifndef INKSCAPE_EXTENSION_DBUS_INIT_H__
#define INKSCAPE_EXTENSION_DBUS_INIT_H__
class SPDesktop;
namespace Inkscape {
namespace Extension {
namespace Dbus {
/** \brief Dbus stuff. For registering objects on the bus. */
void init (void);
gchar * init_document (void);
gchar * init_active_document ();
gchar * init_desktop (void);
gchar * dbus_init_desktop_interface (SPDesktop * dt);
/** Set the bus name to use. Default is "org.inkscape".
This function should only be called once, before init(), if a non-default
bus name is required. */
void dbus_set_bus_name(gchar const * bus_name);
/** Get the bus name for this instance. Default is "org.inkscape".
This function should only be called after init().
The returned gchar * is owned by this module and should not be freed. */
gchar * dbus_get_bus_name();
} } } /* namespace Dbus, Extension, Inkscape */
#endif /* INKSCAPE_EXTENSION_DBUS_INIT_H__ */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
|