blob: 4e47ec43b58803f957e5bf0b9d83cde0822ce5e5 [file] [log] [blame]
// Copyright 2018 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 SRC_SYS_APPMGR_COMPONENT_CONTAINER_H_
#define SRC_SYS_APPMGR_COMPONENT_CONTAINER_H_
namespace component {
template <typename T>
class ComponentContainer {
public:
virtual std::shared_ptr<T> ExtractComponent(T* controller) = 0;
virtual ~ComponentContainer() {}
};
} // namespace component
#endif // SRC_SYS_APPMGR_COMPONENT_CONTAINER_H_