source: appstream-generator/build/girepo/gio/DBusObjectManagerIF.d @ 4841

Last change on this file since 4841 was 4841, checked in by Juanma, 2 years ago

Initial release

File size: 4.3 KB
Line 
1/*
2 * Licensed under the GNU Lesser General Public License Version 3
3 *
4 * This library is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the license, or
7 * (at your option) any later version.
8 *
9 * This software is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this library.  If not, see <http://www.gnu.org/licenses/>.
16 */
17
18// generated automatically - do not change
19
20
21module gio.DBusObjectManagerIF;
22
23private import gi.gio;
24public  import gi.giotypes;
25private import gio.DBusInterface;
26private import gio.DBusInterfaceIF;
27private import gio.DBusObject;
28private import gio.DBusObjectIF;
29private import glib.ListG;
30private import glib.Str;
31private import gobject.ObjectG;
32private import gobject.Signals;
33private import std.algorithm;
34
35
36/**
37 * The #GDBusObjectManager type is the base type for service- and
38 * client-side implementations of the standardized
39 * [org.freedesktop.DBus.ObjectManager](http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager)
40 * interface.
41 *
42 * See #GDBusObjectManagerClient for the client-side implementation
43 * and #GDBusObjectManagerServer for the service-side implementation.
44 */
45public interface DBusObjectManagerIF{
46        /** Get the main Gtk struct */
47        public GDBusObjectManager* getDBusObjectManagerStruct();
48
49        /** the main Gtk struct as a void* */
50        protected void* getStruct();
51
52
53        /**
54         * Gets the interface proxy for @interface_name at @object_path, if
55         * any.
56         *
57         * Params:
58         *     objectPath = Object path to lookup.
59         *     interfaceName = D-Bus interface name to lookup.
60         *
61         * Returns: A #GDBusInterface instance or %NULL. Free
62         *     with g_object_unref().
63         *
64         * Since: 2.30
65         */
66        public DBusInterfaceIF getInterface(string objectPath, string interfaceName);
67
68        /**
69         * Gets the #GDBusObjectProxy at @object_path, if any.
70         *
71         * Params:
72         *     objectPath = Object path to lookup.
73         *
74         * Returns: A #GDBusObject or %NULL. Free with
75         *     g_object_unref().
76         *
77         * Since: 2.30
78         */
79        public DBusObjectIF getObject(string objectPath);
80
81        /**
82         * Gets the object path that @manager is for.
83         *
84         * Returns: A string owned by @manager. Do not free.
85         *
86         * Since: 2.30
87         */
88        public string getObjectPath();
89
90        /**
91         * Gets all #GDBusObject objects known to @manager.
92         *
93         * Returns: A list of
94         *     #GDBusObject objects. The returned list should be freed with
95         *     g_list_free() after each element has been freed with
96         *     g_object_unref().
97         *
98         * Since: 2.30
99         */
100        public ListG getObjects();
101
102        /**
103         * Emitted when @interface is added to @object.
104         *
105         * This signal exists purely as a convenience to avoid having to
106         * connect signals to all objects managed by @manager.
107         *
108         * Params:
109         *     object = The #GDBusObject on which an interface was added.
110         *     iface = The #GDBusInterface that was added.
111         *
112         * Since: 2.30
113         */
114        gulong addOnInterfaceAdded(void delegate(DBusObjectIF, DBusInterfaceIF, DBusObjectManagerIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
115
116        /**
117         * Emitted when @interface has been removed from @object.
118         *
119         * This signal exists purely as a convenience to avoid having to
120         * connect signals to all objects managed by @manager.
121         *
122         * Params:
123         *     object = The #GDBusObject on which an interface was removed.
124         *     iface = The #GDBusInterface that was removed.
125         *
126         * Since: 2.30
127         */
128        gulong addOnInterfaceRemoved(void delegate(DBusObjectIF, DBusInterfaceIF, DBusObjectManagerIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
129
130        /**
131         * Emitted when @object is added to @manager.
132         *
133         * Params:
134         *     object = The #GDBusObject that was added.
135         *
136         * Since: 2.30
137         */
138        gulong addOnObjectAdded(void delegate(DBusObjectIF, DBusObjectManagerIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
139
140        /**
141         * Emitted when @object is removed from @manager.
142         *
143         * Params:
144         *     object = The #GDBusObject that was removed.
145         *
146         * Since: 2.30
147         */
148        gulong addOnObjectRemoved(void delegate(DBusObjectIF, DBusObjectManagerIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
149}
Note: See TracBrowser for help on using the repository browser.