Mount gadget resource paths for NUIGadget
[platform/core/appfw/launchpad.git] / src / launchpad-process-pool / loader_manager.hh
index 7f3f078..060c2c3 100644 (file)
@@ -26,6 +26,7 @@
 #include <string_view>
 #include <vector>
 
+#include <app_info.hh>
 #include <hw_acceleration_config.hh>
 
 #include "launchpad-process-pool/app_defined_loader_info_manager.hh"
@@ -33,6 +34,7 @@
 #include "launchpad-process-pool/hydra_loader_context.hh"
 #include "launchpad-process-pool/loader_context.hh"
 #include "launchpad-process-pool/loader_info.hh"
+#include "launchpad-process-pool/loader_mount.hh"
 #include "launchpad-process-pool/memory_monitor.hh"
 #include "launchpad-process-pool/sequencer.hh"
 
@@ -59,6 +61,8 @@ class LoaderManager : public AppDefinedLoaderInfoManager::IEvent,
   static LoaderManager& GetInst();
   void Dispose();
 
+  void PrepareApp(const std::shared_ptr<LoaderContext>& context,
+                  const AppInfo* app_info);
   void SetEventListener(IEvent* event_listener);
   void HandleSigchld(pid_t pid);
   void AddDefaultLoaderContexts();
@@ -117,6 +121,7 @@ class LoaderManager : public AppDefinedLoaderInfoManager::IEvent,
   std::unique_ptr<AppDefinedLoaderInfoManager> app_defined_loader_info_manager_;
   std::vector<std::shared_ptr<LoaderContext>> loader_contexts_;
   std::unique_ptr<HWAccelerationConfig> hwacc_config_;
+  std::shared_ptr<LoaderMount> loader_mount_;
 };
 
 }  // namespace launchpad