diff options
author | x-yl <kylepereira@mail.com> | 2021-06-02 18:50:13 +0400 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-06-11 23:58:28 +0430 |
commit | 7021413d309953a5b399296c2de905cc55c165ed (patch) | |
tree | 52efef69a45d68364336faaca204b6ccd2390a1b /Userland/Libraries/LibIMAP/Client.h | |
parent | 076c708d0a970c121d193770fac05f8798d59225 (diff) | |
download | serenity-7021413d309953a5b399296c2de905cc55c165ed.zip |
LibIMAP: Support for COPY, CREATE, DELETE and RENAME
Diffstat (limited to 'Userland/Libraries/LibIMAP/Client.h')
-rw-r--r-- | Userland/Libraries/LibIMAP/Client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibIMAP/Client.h b/Userland/Libraries/LibIMAP/Client.h index f6329547d8..2e79d7eb13 100644 --- a/Userland/Libraries/LibIMAP/Client.h +++ b/Userland/Libraries/LibIMAP/Client.h @@ -27,6 +27,10 @@ public: RefPtr<Promise<Optional<SolidResponse>>> search(Optional<String> charset, Vector<SearchKey>&& search_keys, bool uid); RefPtr<Promise<Optional<SolidResponse>>> fetch(FetchCommand request, bool uid); RefPtr<Promise<Optional<SolidResponse>>> store(StoreMethod, Sequence, bool silent, Vector<String> const& flags, bool uid); + RefPtr<Promise<Optional<SolidResponse>>> copy(Sequence sequence_set, StringView name, bool uid); + RefPtr<Promise<Optional<SolidResponse>>> create_mailbox(StringView name); + RefPtr<Promise<Optional<SolidResponse>>> delete_mailbox(StringView name); + RefPtr<Promise<Optional<SolidResponse>>> rename(StringView from, StringView to); RefPtr<Promise<Optional<ContinueRequest>>> idle(); RefPtr<Promise<Optional<SolidResponse>>> finish_idle(); RefPtr<Promise<Optional<SolidResponse>>> status(StringView mailbox, Vector<StatusItemType> const& types); |