X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/10719a443a88d06ef5734f0e17f71316b1473edf..eabd361405a54a5b7122bf537cb299306f098e45:/src/main/java/org/asamk/TextSecure.java diff --git a/src/main/java/org/asamk/TextSecure.java b/src/main/java/org/asamk/TextSecure.java deleted file mode 100644 index 991342b7..00000000 --- a/src/main/java/org/asamk/TextSecure.java +++ /dev/null @@ -1,27 +0,0 @@ -package org.asamk; - -import org.asamk.textsecure.AttachmentInvalidException; -import org.asamk.textsecure.GroupNotFoundException; -import org.freedesktop.dbus.DBusInterface; -import org.freedesktop.dbus.DBusSignal; -import org.freedesktop.dbus.exceptions.DBusException; -import org.whispersystems.signalservice.api.push.exceptions.EncapsulatedExceptions; - -import java.io.IOException; -import java.util.List; - -public interface TextSecure extends DBusInterface { - void sendMessage(String message, List attachments, String recipient) throws EncapsulatedExceptions, AttachmentInvalidException, IOException; - - void sendMessage(String message, List attachments, List recipients) throws EncapsulatedExceptions, AttachmentInvalidException, IOException; - - void sendEndSessionMessage(List recipients) throws IOException, EncapsulatedExceptions; - - void sendGroupMessage(String message, List attachments, byte[] groupId) throws EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException, IOException; - - class MessageReceived extends DBusSignal { - public MessageReceived(String objectpath, String sender, byte[] groupId, String message, List attachments) throws DBusException { - super(objectpath, sender, groupId, message, attachments); - } - } -}