mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Add dbus SignalControl interface to register/verify/link accounts
This commit is contained in:
parent
48b2c7ff8a
commit
8f781c019f
9 changed files with 272 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue