comparison dbus-d-javatests/README.txt @ 6:963d271f7c25

disabled event stuff, to have working example
author Frank Benoit <benoit@tionex.de>
date Sun, 28 Oct 2007 19:35:38 +0100
parents 7c2c75740370
children
comparison
equal deleted inserted replaced
5:7c2c75740370 6:963d271f7c25
4 the interfaces from the XML file and with the needed supporting code. 4 the interfaces from the XML file and with the needed supporting code.
5 5
6 1. Build the "createinterface" tool. 6 1. Build the "createinterface" tool.
7 in the dbus-d directory: 7 in the dbus-d directory:
8 8
9 $ cd dbus-d 9 $ cd dbus-d/dsrc
10 $ dsss build org/freedesktop/dbus/tools/CreateInterface.d 10 $ dsss build org/freedesktop/dbus/tool/CreateInterface.d
11
12 On success, this creates the CreateInterface tool in ../..
11 13
12 2. Goto the directory of your applications source code ,call the CreateInterface tool 14 2. Goto the directory of your applications source code ,call the CreateInterface tool
13 and pipe the output to a file matching your module name. 15 and pipe the output to a file matching your module name.
14 16
15 $ cd ../dbus-d-javatests/dsrc 17 $ cd ../dbus-d-javatests/dsrc
16 $ ../../dbus-d/CreateInterface ../dbustest.xml DBusTestingGen > DBusTestingGen.d 18 $ ../../CreateInterface ../dbustest.xml DBusTestingGen > DBusTestingGen.d
17 19
18 3. Implement interfaces in D. If the introspection.xml has an interface called "a.b.C" 20 3. Implement interfaces in D. If the introspection.xml has an interface called "a.b.C"
19 you need to implement the interface "DBusInterface.a.b.C" which is part of the generated 21 you need to implement the interface "DBusInterface.a.b.C" which is part of the generated
20 module. 22 module.
21 23