blob: b4f6a2f84090fc8f105988f9b62e4f398b6fefbd [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PERIDOT_BIN_SESSIONMGR_AGENT_LAUNCHER_H_
#define PERIDOT_BIN_SESSIONMGR_AGENT_LAUNCHER_H_
#include <fuchsia/sys/cpp/fidl.h>
#include <lib/fidl/cpp/binding_set.h>
#include <lib/svc/cpp/services.h>
#include "peridot/lib/environment_host/maxwell_service_provider_bridge.h"
namespace modular {
class AgentLauncher {
public:
AgentLauncher(fuchsia::sys::Environment* environment)
: environment_(environment) {}
component::Services StartAgent(
const std::string& url,
std::unique_ptr<maxwell::MaxwellServiceProviderBridge> bridge);
private:
fuchsia::sys::Environment* environment_;
std::unique_ptr<maxwell::MaxwellServiceProviderBridge> bridge_;
};
} // namespace modular
#endif // PERIDOT_BIN_SESSIONMGR_AGENT_LAUNCHER_H_