blob: 5102d9378dde2c691dbfaf79ea838d80f3fee7ac [file] [log] [blame]
// Copyright 2022 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 FUCHSIA_SDK_EXAMPLES_CC_COMPOSITE_SAMPLE_H_
#define FUCHSIA_SDK_EXAMPLES_CC_COMPOSITE_SAMPLE_H_
#include <lib/driver/component/cpp/driver_cpp.h>
namespace composite_sample {
class CompositeSampleDriver : public driver::DriverBase {
public:
CompositeSampleDriver(driver::DriverStartArgs start_args,
fdf::UnownedDispatcher driver_dispatcher)
: driver::DriverBase("composite-sample", std::move(start_args),
std::move(driver_dispatcher)) {}
virtual ~CompositeSampleDriver() = default;
zx::result<> Start() override;
private:
zx::result<> PrintTopologicalPath(std::string_view name);
};
} // namespace composite_sample
#endif // FUCHSIA_SDK_EXAMPLES_CC_COMPOSITE_SAMPLE_H_