blob: 629c8591d2f85fc2011b8126104978f8c64d4421 [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_HUB_HUB_INFO_H_
#define SRC_SYS_APPMGR_HUB_HUB_INFO_H_
#include <fbl/string.h>
#include "src/lib/storage/vfs/cpp/pseudo_dir.h"
namespace component {
class HubInfo {
public:
HubInfo(fbl::String label, fbl::String koid, fbl::RefPtr<fs::PseudoDir> hub_dir);
~HubInfo();
const fbl::String& label() const { return label_; }
const fbl::String& koid() const { return koid_; }
const fbl::RefPtr<fs::PseudoDir>& hub_dir() const { return hub_dir_; }
private:
fbl::String label_;
fbl::String koid_;
fbl::RefPtr<fs::PseudoDir> hub_dir_;
};
} // namespace component
#endif // SRC_SYS_APPMGR_HUB_HUB_INFO_H_