Private
Public Access
1
0

Implements attachments display in transcript

This commit is contained in:
2025-06-06 20:03:02 -07:00
parent 1a2dad08a5
commit 54790d1d70
9 changed files with 252 additions and 31 deletions

View File

@@ -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;
}
}