mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +00:00
AK: Move Stream
and SeekableStream
from LibCore
`Stream` will be qualified as `AK::Stream` until we remove the `Core::Stream` namespace. `IODevice` now reuses the `SeekMode` that is defined by `SeekableStream`, since defining its own would require us to qualify it with `AK::SeekMode` everywhere.
This commit is contained in:
parent
5f2ea31816
commit
8464da1439
96 changed files with 620 additions and 586 deletions
|
@ -52,7 +52,7 @@ public:
|
|||
}
|
||||
|
||||
protected:
|
||||
NetworkJob(Core::Stream::Stream&);
|
||||
NetworkJob(AK::Stream&);
|
||||
void did_finish(NonnullRefPtr<NetworkResponse>&&);
|
||||
void did_fail(Error);
|
||||
void did_progress(Optional<u32> total_size, u32 downloaded);
|
||||
|
@ -61,7 +61,7 @@ protected:
|
|||
|
||||
private:
|
||||
RefPtr<NetworkResponse> m_response;
|
||||
Core::Stream::Stream& m_output_stream;
|
||||
AK::Stream& m_output_stream;
|
||||
Error m_error { Error::None };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue