1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19  
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 /*
25  * Conversion parameters:
26  * inFile  = GDBusInterface.html
27  * outPack = gio
28  * outFile = DBusInterfaceIF
29  * strct   = GDBusInterface
30  * realStrct=
31  * ctorStrct=
32  * clss    = DBusInterfaceT
33  * interf  = DBusInterfaceIF
34  * class Code: No
35  * interface Code: No
36  * template for:
37  * extend  = 
38  * implements:
39  * prefixes:
40  * 	- g_dbus_interface_
41  * omit structs:
42  * omit prefixes:
43  * omit code:
44  * omit signals:
45  * imports:
46  * 	- gio.DBusInterfaceInfo
47  * 	- gio.DBusObject
48  * 	- gio.DBusObjectIF
49  * structWrap:
50  * 	- GDBusInterfaceInfo* -> DBusInterfaceInfo
51  * 	- GDBusObject* -> DBusObjectIF
52  * module aliases:
53  * local aliases:
54  * overrides:
55  */
56 
57 module gio.DBusInterfaceIF;
58 
59 public  import gtkc.giotypes;
60 
61 private import gtkc.gio;
62 private import glib.ConstructionException;
63 private import gobject.ObjectG;
64 
65 private import gio.DBusInterfaceInfo;
66 private import gio.DBusObject;
67 private import gio.DBusObjectIF;
68 
69 
70 
71 /**
72  * The GDBusInterface type is the base type for D-Bus interfaces both
73  * on the service side (see GDBusInterfaceSkeleton) and client side
74  * (see GDBusProxy).
75  */
76 public interface DBusInterfaceIF
77 {
78 	
79 	
80 	/** Get the main Gtk struct */
81 	public GDBusInterface* getDBusInterfaceTStruct();
82 	
83 	/** the main Gtk struct as a void* */
84 	protected void* getStruct();
85 	
86 	
87 	/**
88 	 */
89 	
90 	/**
91 	 * Gets D-Bus introspection information for the D-Bus interface
92 	 * implemented by interface_.
93 	 * Since 2.30
94 	 * Returns: A GDBusInterfaceInfo. Do not free. [transfer none]
95 	 */
96 	public DBusInterfaceInfo getInfo();
97 	
98 	/**
99 	 * Gets the GDBusObject that interface_ belongs to, if any.
100 	 * Warning
101 	 * It is not safe to use the returned object if interface_
102 	 * or the returned object is being used from other threads. See
103 	 * g_dbus_interface_dup_object() for a thread-safe
104 	 * alternative.
105 	 * Since 2.30
106 	 * Returns: A GDBusObject or NULL. The returned reference belongs to interface_ and should not be freed. [transfer none]
107 	 */
108 	public DBusObjectIF getObject();
109 	
110 	/**
111 	 * Gets the GDBusObject that interface_ belongs to, if any.
112 	 * Since 2.32
113 	 * Returns: A GDBusObject or NULL. The returned reference should be freed with g_object_unref(). [transfer full]
114 	 */
115 	public DBusObjectIF dupObject();
116 	
117 	/**
118 	 * Sets the GDBusObject for interface_ to object.
119 	 * Note that interface_ will hold a weak reference to object.
120 	 * Since 2.30
121 	 * Params:
122 	 * object = A GDBusObject or NULL. [allow-none]
123 	 */
124 	public void setObject(DBusObjectIF object);
125 }