summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/library_applet_accessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/am/library_applet_accessor.h')
-rw-r--r--src/core/hle/service/am/library_applet_accessor.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/core/hle/service/am/library_applet_accessor.h b/src/core/hle/service/am/library_applet_accessor.h
index 77f62906c..c34a1cbca 100644
--- a/src/core/hle/service/am/library_applet_accessor.h
+++ b/src/core/hle/service/am/library_applet_accessor.h
@@ -3,17 +3,21 @@
#pragma once
-#include "core/hle/service/am/frontend/applets.h"
#include "core/hle/service/service.h"
namespace Service::AM {
+struct AppletStorageHolder;
+struct Applet;
+
class ILibraryAppletAccessor final : public ServiceFramework<ILibraryAppletAccessor> {
public:
explicit ILibraryAppletAccessor(Core::System& system_,
- std::shared_ptr<Frontend::FrontendApplet> applet_);
+ std::shared_ptr<AppletStorageHolder> storage_,
+ std::shared_ptr<Applet> applet_);
+ ~ILibraryAppletAccessor();
-private:
+protected:
void GetAppletStateChangedEvent(HLERequestContext& ctx);
void IsCompleted(HLERequestContext& ctx);
void GetResult(HLERequestContext& ctx);
@@ -28,7 +32,8 @@ private:
void GetPopInteractiveOutDataEvent(HLERequestContext& ctx);
void GetIndirectLayerConsumerHandle(HLERequestContext& ctx);
- std::shared_ptr<Frontend::FrontendApplet> applet;
+ const std::shared_ptr<AppletStorageHolder> storage;
+ const std::shared_ptr<Applet> applet;
};
} // namespace Service::AM