summaryrefslogtreecommitdiff
path: root/Userland/Utilities
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/Utilities
parent874c7bba289222916911caf3102c77ee3a261d77 (diff)
downloadserenity-43f98ac6e1eb913846980226b2524a4b419c6183.zip
Everywhere: Remove the `AK::` qualifier from Stream usages
Diffstat (limited to 'Userland/Utilities')
-rw-r--r--Userland/Utilities/gunzip.cpp2
-rw-r--r--Userland/Utilities/headless-browser.cpp6
-rw-r--r--Userland/Utilities/js.cpp2
-rw-r--r--Userland/Utilities/pro.cpp6
-rw-r--r--Userland/Utilities/tar.cpp4
-rw-r--r--Userland/Utilities/wasm.cpp2
6 files changed, 11 insertions, 11 deletions
diff --git a/Userland/Utilities/gunzip.cpp b/Userland/Utilities/gunzip.cpp
index 531c753e3f..a0fb4048a7 100644
--- a/Userland/Utilities/gunzip.cpp
+++ b/Userland/Utilities/gunzip.cpp
@@ -11,7 +11,7 @@
#include <LibMain/Main.h>
#include <unistd.h>
-static ErrorOr<void> decompress_file(NonnullOwnPtr<Core::File> input_stream, AK::Stream& output_stream)
+static ErrorOr<void> decompress_file(NonnullOwnPtr<Core::File> input_stream, Stream& output_stream)
{
auto gzip_stream = Compress::GzipDecompressor { move(input_stream) };
diff --git a/Userland/Utilities/headless-browser.cpp b/Userland/Utilities/headless-browser.cpp
index 52c62d712d..d4cfb15a77 100644
--- a/Userland/Utilities/headless-browser.cpp
+++ b/Userland/Utilities/headless-browser.cpp
@@ -334,7 +334,7 @@ public:
return false;
}
- virtual void stream_into(AK::Stream&) override
+ virtual void stream_into(Stream&) override
{
}
@@ -413,7 +413,7 @@ public:
return false;
}
- virtual void stream_into(AK::Stream&) override
+ virtual void stream_into(Stream&) override
{
}
@@ -482,7 +482,7 @@ public:
return false;
}
- virtual void stream_into(AK::Stream&) override
+ virtual void stream_into(Stream&) override
{
}
diff --git a/Userland/Utilities/js.cpp b/Userland/Utilities/js.cpp
index 5c1f1b9213..a12af0420d 100644
--- a/Userland/Utilities/js.cpp
+++ b/Userland/Utilities/js.cpp
@@ -81,7 +81,7 @@ static String s_history_path = String {};
static int s_repl_line_level = 0;
static bool s_fail_repl = false;
-static ErrorOr<void> print(JS::Value value, AK::Stream& stream)
+static ErrorOr<void> print(JS::Value value, Stream& stream)
{
JS::PrintContext print_context { .vm = *g_vm, .stream = stream, .strip_ansi = s_strip_ansi };
return JS::print(value, print_context);
diff --git a/Userland/Utilities/pro.cpp b/Userland/Utilities/pro.cpp
index 150f80394d..e81a733a12 100644
--- a/Userland/Utilities/pro.cpp
+++ b/Userland/Utilities/pro.cpp
@@ -104,9 +104,9 @@ private:
/// Wraps a stream to silently ignore writes when the condition isn't true.
template<typename ConditionT>
-class ConditionalOutputStream final : public AK::Stream {
+class ConditionalOutputStream final : public Stream {
public:
- ConditionalOutputStream(ConditionT&& condition, MaybeOwned<AK::Stream> stream)
+ ConditionalOutputStream(ConditionT&& condition, MaybeOwned<Stream> stream)
: m_stream(move(stream))
, m_condition(condition)
{
@@ -141,7 +141,7 @@ public:
}
private:
- MaybeOwned<AK::Stream> m_stream;
+ MaybeOwned<Stream> m_stream;
ConditionT m_condition;
};
diff --git a/Userland/Utilities/tar.cpp b/Userland/Utilities/tar.cpp
index 31b2dc98bf..6d2cbb19cb 100644
--- a/Userland/Utilities/tar.cpp
+++ b/Userland/Utilities/tar.cpp
@@ -63,7 +63,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
if (!directory.is_empty())
TRY(Core::System::chdir(directory));
- NonnullOwnPtr<AK::Stream> input_stream = TRY(Core::File::open_file_or_standard_stream(archive_file, Core::File::OpenMode::Read));
+ NonnullOwnPtr<Stream> input_stream = TRY(Core::File::open_file_or_standard_stream(archive_file, Core::File::OpenMode::Read));
if (gzip)
input_stream = make<Compress::GzipDecompressor>(move(input_stream));
@@ -205,7 +205,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
return 1;
}
- NonnullOwnPtr<AK::Stream> output_stream = TRY(Core::File::standard_output());
+ NonnullOwnPtr<Stream> output_stream = TRY(Core::File::standard_output());
if (!archive_file.is_empty())
output_stream = TRY(Core::File::open(archive_file, Core::File::OpenMode::Write));
diff --git a/Userland/Utilities/wasm.cpp b/Userland/Utilities/wasm.cpp
index d82ff82fa2..00652bbd57 100644
--- a/Userland/Utilities/wasm.cpp
+++ b/Userland/Utilities/wasm.cpp
@@ -19,7 +19,7 @@
#include <unistd.h>
RefPtr<Line::Editor> g_line_editor;
-static OwnPtr<AK::Stream> g_stdout {};
+static OwnPtr<Stream> g_stdout {};
static OwnPtr<Wasm::Printer> g_printer {};
static bool g_continue { false };
static void (*old_signal)(int);