mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-06 06:00:38 +00:00
try to merge again
This commit is contained in:
parent
6d18f311e6
commit
685fce477c
184 changed files with 14906 additions and 1705 deletions
|
@ -3,8 +3,15 @@ package org.asamk.signal.commands;
|
|||
import net.sourceforge.argparse4j.inf.Namespace;
|
||||
|
||||
import org.asamk.Signal;
|
||||
import org.asamk.signal.commands.exceptions.CommandException;
|
||||
import org.asamk.signal.dbus.DbusSignalImpl;
|
||||
import org.asamk.signal.manager.Manager;
|
||||
|
||||
public interface DbusCommand extends Command {
|
||||
public interface DbusCommand extends LocalCommand {
|
||||
|
||||
int handleCommand(Namespace ns, Signal signal);
|
||||
void handleCommand(Namespace ns, Signal signal) throws CommandException;
|
||||
|
||||
default void handleCommand(final Namespace ns, final Manager m) throws CommandException {
|
||||
handleCommand(ns, new DbusSignalImpl(m));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue