blob: d366889b40005d5fa5bc8b8a3ab9d13977a62ed8 [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_COMPOSITE_SAMPLE_DRIVER_COMPOSITE_SAMPLE_H_
#define FUCHSIA_SDK_EXAMPLES_COMPOSITE_SAMPLE_DRIVER_COMPOSITE_SAMPLE_H_
#include <lib/driver/component/cpp/driver_cpp.h>
namespace composite_sample {
class CompositeSampleDriver : public fdf::DriverBase {
public:
CompositeSampleDriver(fdf::DriverStartArgs start_args,
fdf::UnownedSynchronizedDispatcher driver_dispatcher)
: fdf::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_COMPOSITE_SAMPLE_DRIVER_COMPOSITE_SAMPLE_H_