Repository: add support for attachment uploading
This commit is contained in:
@@ -59,11 +59,17 @@ namespace DBusService {
|
||||
[DBus (name = "DownloadAttachment")]
|
||||
public abstract void download_attachment(string attachment_id, bool preview) throws DBusError, IOError;
|
||||
|
||||
[DBus (name = "UploadAttachment")]
|
||||
public abstract string upload_attachment(string path) 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);
|
||||
|
||||
[DBus (name = "AttachmentUploadCompleted")]
|
||||
public signal void attachment_upload_completed(string upload_guid, string attachment_guid);
|
||||
}
|
||||
|
||||
public struct RepositoryAttachmentInfoStruct {
|
||||
|
||||
Reference in New Issue
Block a user