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,6 +5,7 @@
*/
#include <LibAudio/WavWriter.h>
#include <LibCore/DeprecatedFile.h>
namespace Audio {
@ -31,7 +32,7 @@ WavWriter::~WavWriter()
void WavWriter::set_file(StringView path)
{
m_file = Core::File::construct(path);
m_file = Core::DeprecatedFile::construct(path);
if (!m_file->open(Core::OpenMode::ReadWrite)) {
m_error_string = DeprecatedString::formatted("Can't open file: {}", m_file->error_string());
return;