mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-24 14:07:52 -05:00
HLE: Move SessionRequestHandler from Service:: to Kernel::
Most of the code that works with this is or will be in the kernel, so it's a more appropriate place for it to be.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
#include <string>
|
||||
#include "common/common_types.h"
|
||||
#include "core/file_sys/archive_backend.h"
|
||||
#include "core/hle/kernel/server_session.h"
|
||||
#include "core/hle/kernel/hle_ipc.h"
|
||||
#include "core/hle/result.h"
|
||||
|
||||
namespace FileSys {
|
||||
@ -43,7 +43,7 @@ enum class MediaType : u32 { NAND = 0, SDMC = 1, GameCard = 2 };
|
||||
|
||||
typedef u64 ArchiveHandle;
|
||||
|
||||
class File final : public SessionRequestHandler, public std::enable_shared_from_this<File> {
|
||||
class File final : public Kernel::SessionRequestHandler, public std::enable_shared_from_this<File> {
|
||||
public:
|
||||
File(std::unique_ptr<FileSys::FileBackend>&& backend, const FileSys::Path& path);
|
||||
~File();
|
||||
@ -60,7 +60,7 @@ protected:
|
||||
void HandleSyncRequest(Kernel::SharedPtr<Kernel::ServerSession> server_session) override;
|
||||
};
|
||||
|
||||
class Directory final : public SessionRequestHandler {
|
||||
class Directory final : public Kernel::SessionRequestHandler {
|
||||
public:
|
||||
Directory(std::unique_ptr<FileSys::DirectoryBackend>&& backend, const FileSys::Path& path);
|
||||
~Directory();
|
||||
|
Reference in New Issue
Block a user