1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00

LibCore+LibIMAP: Move Promise to LibCore

This makes Promise available without having to link LibIMAP.
This commit is contained in:
Timothy 2021-07-15 14:13:02 +10:00 committed by Gunnar Beutner
parent e4f05a9046
commit 2eb93f2628
3 changed files with 59 additions and 43 deletions

View file

@ -7,10 +7,14 @@
#pragma once
#include <AK/Function.h>
#include <LibCore/Promise.h>
#include <LibIMAP/Parser.h>
#include <LibTLS/TLSv12.h>
namespace IMAP {
template<typename T>
using Promise = Core::Promise<T>;
class Client {
friend class Parser;