Implements attachments display in transcript
This commit is contained in:
@@ -52,5 +52,24 @@ namespace DBusService {
|
||||
|
||||
[DBus (name = "MessagesUpdated")]
|
||||
public signal void messages_updated(string conversation_id);
|
||||
|
||||
[DBus (name = "GetAttachmentInfo")]
|
||||
public abstract RepositoryAttachmentInfoStruct get_attachment_info(string attachment_id) throws DBusError, IOError;
|
||||
|
||||
[DBus (name = "DownloadAttachment")]
|
||||
public abstract void download_attachment(string attachment_id, bool preview) throws DBusError, IOError;
|
||||
|
||||
[DBus (name = "AttachmentDownloadCompleted")]
|
||||
public signal void attachment_download_completed(string attachment_id);
|
||||
|
||||
[DBus (name = "AttachmentDownloadFailed")]
|
||||
public signal void attachment_download_failed(string attachment_id, string error_message);
|
||||
}
|
||||
|
||||
public struct RepositoryAttachmentInfoStruct {
|
||||
public string attr1;
|
||||
public string attr2;
|
||||
public bool attr3;
|
||||
public bool attr4;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user