blob: 7a6bb53bc318c7fc0d043c1e7f5fc625e7710e59 [file] [log] [blame]
// Copyright 2021 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_EXAMPLE_DRIVER_H_
#define FUCHSIA_SDK_EXAMPLES_CC_EXAMPLE_DRIVER_H_
#include <lib/driver2/driver2_cpp.h>
namespace example_driver {
class ExampleDriver : public driver::DriverBase {
public:
ExampleDriver(driver::DriverStartArgs start_args, fdf::UnownedDispatcher driver_dispatcher)
: driver::DriverBase("example-driver", std::move(start_args), std::move(driver_dispatcher)) {}
virtual ~ExampleDriver() = default;
zx::result<> Start() override;
};
} // namespace example_driver
#endif