LibCore: Rename File to DeprecatedFile

As usual, this removes many unused includes and moves used includes
further down the chain.
This commit is contained in:
Tim Schumacher 2023-02-08 21:08:01 +01:00 committed by Linus Groh
commit d43a7eae54
Notes: sideshowbarker 2024-07-17 02:23:25 +09:00
193 changed files with 536 additions and 556 deletions

View file

@ -5,8 +5,8 @@
*/
#include <LibCore/ArgsParser.h>
#include <LibCore/DeprecatedFile.h>
#include <LibCore/EventLoop.h>
#include <LibCore/File.h>
#include <LibCore/GetPassword.h>
#include <LibIMAP/Client.h>
#include <LibMain/Main.h>
@ -38,7 +38,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
if (interactive_password) {
password = TRY(Core::get_password());
} else {
auto standard_input = Core::File::standard_input();
auto standard_input = Core::DeprecatedFile::standard_input();
password = Core::SecretString::take_ownership(standard_input->read_all());
}