*/
#pragma once
+#include <functional>
+
#include <app_install_helper.h>
#include <synchronization_pipe.h>
class ScopedAppLauncher final {
public:
- ScopedAppLauncher(const AppInstallHelper& app);
+ explicit ScopedAppLauncher(const AppInstallHelper& app,
+ const std::function<void(void)>& runInAppContext = []{});
~ScopedAppLauncher();
ScopedAppLauncher(const ScopedAppLauncher&) = delete;