mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
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:
parent
14951b92ca
commit
d43a7eae54
193 changed files with 536 additions and 556 deletions
|
@ -6,12 +6,13 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/NonnullRefPtr.h>
|
||||
#include <LibPartition/DiskPartitionMetadata.h>
|
||||
|
||||
#ifdef KERNEL
|
||||
# include <Kernel/Storage/StorageDevice.h>
|
||||
#else
|
||||
# include <LibCore/File.h>
|
||||
# include <LibCore/Forward.h>
|
||||
#endif
|
||||
|
||||
namespace Partition {
|
||||
|
@ -31,8 +32,8 @@ protected:
|
|||
explicit PartitionTable(Kernel::StorageDevice const&);
|
||||
NonnullRefPtr<Kernel::StorageDevice> m_device;
|
||||
#else
|
||||
explicit PartitionTable(NonnullRefPtr<Core::File>);
|
||||
NonnullRefPtr<Core::File> m_device_file;
|
||||
explicit PartitionTable(NonnullRefPtr<Core::DeprecatedFile>);
|
||||
NonnullRefPtr<Core::DeprecatedFile> m_device_file;
|
||||
#endif
|
||||
|
||||
Vector<DiskPartitionMetadata> m_partitions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue