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:
parent
e4f05a9046
commit
2eb93f2628
3 changed files with 59 additions and 43 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue