Mercurial > projects > dbus-d
view dbus-d-javatests/jsrc/dbustest/DImpl.java @ 5:7c2c75740370
code generation for signals
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 21 Oct 2007 19:22:41 +0200 |
parents | |
children | 963d271f7c25 |
line wrap: on
line source
package dbustest; import org.dsource.dbus.d.Returns; import org.freedesktop.dbus.DBusInterface; import org.freedesktop.dbus.DBusSignal; import org.freedesktop.dbus.UInt16; import org.freedesktop.dbus.UInt32; import org.freedesktop.dbus.UInt64; import org.freedesktop.dbus.exceptions.DBusException; public interface DImpl extends DBusInterface { public static class testSigI extends DBusSignal { public final int arg1; public testSigI(String path, int arg1) throws DBusException { super(path, arg1); this.arg1 = arg1; } } public void testV_V(); @Returns("res") public int testI_I(int arg1); 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); public void triggerSignal(int count); }