comparison dbus-d-javatests/jsrc/dbustest/DImpl.java @ 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
1 package dbustest; 1 package dbustest;
2 import org.dsource.dbus.d.Returns; 2 import org.dsource.dbus.d.Returns;
3 import org.freedesktop.dbus.DBusInterface; 3 import org.freedesktop.dbus.DBusInterface;
4 import org.freedesktop.dbus.DBusSignal;
5 import org.freedesktop.dbus.UInt16; 4 import org.freedesktop.dbus.UInt16;
6 import org.freedesktop.dbus.UInt32; 5 import org.freedesktop.dbus.UInt32;
7 import org.freedesktop.dbus.UInt64; 6 import org.freedesktop.dbus.UInt64;
8 import org.freedesktop.dbus.exceptions.DBusException;
9 public interface DImpl extends DBusInterface 7 public interface DImpl extends DBusInterface
10 { 8 {
11 public static class testSigI extends DBusSignal
12 {
13 public final int arg1;
14 public testSigI(String path, int arg1) throws DBusException
15 {
16 super(path, arg1);
17 this.arg1 = arg1;
18 }
19 }
20 9
21 public void testV_V(); 10 public void testV_V();
22 @Returns("res") 11 @Returns("res")
23 public int testI_I(int arg1); 12 public int testI_I(int arg1);
24 public NTuple10<Boolean, Byte, Short, UInt16, Integer, UInt32, Long, UInt64, Double, String> testParamAllSimpleTyes(boolean i_bool, byte i_byte, short i_short, UInt16 i_ushort, int i_int, UInt32 i_uint, long i_long, UInt64 i_ulong, double i_double, String i_string); 13 public NTuple10<Boolean, Byte, Short, UInt16, Integer, UInt32, Long, UInt64, Double, String> testParamAllSimpleTyes(boolean i_bool, byte i_byte, short i_short, UInt16 i_ushort, int i_int, UInt32 i_uint, long i_long, UInt64 i_ulong, double i_double, String i_string);
25 public void triggerSignal(int count);
26 14
27 } 15 }