diff options
| author | Subv <subv2112@gmail.com> | 2016-12-05 12:05:00 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2016-12-05 12:05:00 -0500 |
| commit | 00f0c775702af4145a4a81ec5d357c3586a5c6c3 (patch) | |
| tree | 58f7dbfddba5de2c2f4a7fac420ab5ac8a8a3de1 /src/core/hle/service/fs/archive.h | |
| parent | 29d809b6e164ea19c58557e6958fe011e062dff3 (diff) | |
Split SessionRequestHandler::HandleSyncRequest into HandleSyncRequest, TranslateRequest and HandleSyncRequestImpl.
HandleSyncRequest now takes care of calling the command buffer translate function before actually invoking the command handler for HLE services.
Diffstat (limited to 'src/core/hle/service/fs/archive.h')
| -rw-r--r-- | src/core/hle/service/fs/archive.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/hle/service/fs/archive.h b/src/core/hle/service/fs/archive.h index 29527ef48..cb014b5d7 100644 --- a/src/core/hle/service/fs/archive.h +++ b/src/core/hle/service/fs/archive.h @@ -50,11 +50,12 @@ public: return "Path: " + path.DebugStr(); } - ResultCode HandleSyncRequest(Kernel::SharedPtr<Kernel::ServerSession> server_session) override; - FileSys::Path path; ///< Path of the file u32 priority; ///< Priority of the file. TODO(Subv): Find out what this means std::unique_ptr<FileSys::FileBackend> backend; ///< File backend interface + +protected: + void HandleSyncRequestImpl(Kernel::SharedPtr<Kernel::ServerSession> server_session) override; }; class Directory : public SessionRequestHandler { @@ -66,10 +67,11 @@ public: return "Directory: " + path.DebugStr(); } - ResultCode HandleSyncRequest(Kernel::SharedPtr<Kernel::ServerSession> server_session) override; - FileSys::Path path; ///< Path of the directory std::unique_ptr<FileSys::DirectoryBackend> backend; ///< File backend interface + +protected: + void HandleSyncRequestImpl(Kernel::SharedPtr<Kernel::ServerSession> server_session) override; }; /** |
