diff options
author | singesang <singesang@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-10-14 10:36:51 +0000 |
---|---|---|
committer | singesang <singesang@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-10-14 10:36:51 +0000 |
commit | 6f4398cbec0937ef14d341c40f3604a3c57f643e (patch) | |
tree | d742bef9db87933b5befb8d62c5d9a7ee450513e /navit/binding | |
parent | 8add81854c5932ee489577ee9cc3bb9d69902f24 (diff) | |
download | navit-6f4398cbec0937ef14d341c40f3604a3c57f643e.tar.gz |
Made it introspectable and added some functions
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1462 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/binding')
-rw-r--r-- | navit/binding/dbus/navit.introspect | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/navit/binding/dbus/navit.introspect b/navit/binding/dbus/navit.introspect index 8afea2d6f..9366c0cb3 100644 --- a/navit/binding/dbus/navit.introspect +++ b/navit/binding/dbus/navit.introspect @@ -1,16 +1,34 @@ <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> -<node> - <interface name="org.navit_project.navit"> - <method name="iter_new"> - <arg name="iter" type="o" direction="out"/> +<node name="/org/navit_project/navit"> + <interface name="org.freedesktop.DBus.Introspectable"> + <method name="Introspect"> + <arg direction="out" type="s" /> </method> + </interface> + + <interface name="org.navit_project.navit"> <method name="get_navit"> <arg name="iter" type="o" direction="in"/> <arg name="navit" type="o" direction="out"/> </method> + <method name="iter_new"> + <arg name="iter" type="o" direction="out"/> + </method> <method name="iter_destroy"> <arg name="iter" type="o" direction="in"/> </method> </interface> + + <interface name="org.navit_project.navit.navit"> + <method name="zoom"> + <arg type="i" direction="in" /> + </method> + <method name="zoom"> + <arg type="i(ii)" direction="in" /> + </method> + <method name="set_center_screen"> + <arg type="ii" direction="in" /> + </method> + </interface> </node> |