Add dbus SignalControl interface to register/verify/link accounts

This commit is contained in:
AsamK 2021-04-03 19:13:12 +02:00
parent 48b2c7ff8a
commit 8f781c019f
9 changed files with 272 additions and 22 deletions

View file

@ -34,9 +34,11 @@ import static org.asamk.signal.util.Util.getLegacyIdentifier;
public class DbusSignalImpl implements Signal {
private final Manager m;
private final String objectPath;
public DbusSignalImpl(final Manager m) {
public DbusSignalImpl(final Manager m, final String objectPath) {
this.m = m;
this.objectPath = objectPath;
}
@Override
@ -46,7 +48,7 @@ public class DbusSignalImpl implements Signal {
@Override
public String getObjectPath() {
return null;
return objectPath;
}
@Override