summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCompress/Gzip.h
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-02-10 01:00:18 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-13 00:50:07 +0000
commit43f98ac6e1eb913846980226b2524a4b419c6183 (patch)
treeb0c508cafcd9cb9d4698d0bad4579cfc433a9e14 /Userland/Libraries/LibCompress/Gzip.h
parent874c7bba289222916911caf3102c77ee3a261d77 (diff)
downloadserenity-43f98ac6e1eb913846980226b2524a4b419c6183.zip
Everywhere: Remove the `AK::` qualifier from Stream usages
Diffstat (limited to 'Userland/Libraries/LibCompress/Gzip.h')
-rw-r--r--Userland/Libraries/LibCompress/Gzip.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Userland/Libraries/LibCompress/Gzip.h b/Userland/Libraries/LibCompress/Gzip.h
index acf50e15b6..2a297103ef 100644
--- a/Userland/Libraries/LibCompress/Gzip.h
+++ b/Userland/Libraries/LibCompress/Gzip.h
@@ -40,9 +40,9 @@ struct Flags {
static constexpr u8 MAX = FTEXT | FHCRC | FEXTRA | FNAME | FCOMMENT;
};
-class GzipDecompressor final : public AK::Stream {
+class GzipDecompressor final : public Stream {
public:
- GzipDecompressor(NonnullOwnPtr<AK::Stream>);
+ GzipDecompressor(NonnullOwnPtr<Stream>);
~GzipDecompressor();
virtual ErrorOr<Bytes> read(Bytes) override;
@@ -58,7 +58,7 @@ public:
private:
class Member {
public:
- static ErrorOr<NonnullOwnPtr<Member>> construct(BlockHeader header, AK::Stream&);
+ static ErrorOr<NonnullOwnPtr<Member>> construct(BlockHeader header, Stream&);
BlockHeader m_header;
NonnullOwnPtr<DeflateDecompressor> m_stream;
@@ -72,7 +72,7 @@ private:
Member const& current_member() const { return *m_current_member; }
Member& current_member() { return *m_current_member; }
- NonnullOwnPtr<AK::Stream> m_input_stream;
+ NonnullOwnPtr<Stream> m_input_stream;
u8 m_partial_header[sizeof(BlockHeader)];
size_t m_partial_header_offset { 0 };
OwnPtr<Member> m_current_member {};
@@ -80,9 +80,9 @@ private:
bool m_eof { false };
};
-class GzipCompressor final : public AK::Stream {
+class GzipCompressor final : public Stream {
public:
- GzipCompressor(MaybeOwned<AK::Stream>);
+ GzipCompressor(MaybeOwned<Stream>);
virtual ErrorOr<Bytes> read(Bytes) override;
virtual ErrorOr<size_t> write(ReadonlyBytes) override;
@@ -93,7 +93,7 @@ public:
static ErrorOr<ByteBuffer> compress_all(ReadonlyBytes bytes);
private:
- MaybeOwned<AK::Stream> m_output_stream;
+ MaybeOwned<Stream> m_output_stream;
};
}