#ifndef BASE_FUCHSIA_TEST_INTERFACE_IMPL_H_
#define BASE_FUCHSIA_TEST_INTERFACE_IMPL_H_
#include <lib/fidl/cpp/binding_set.h>
#include <lib/zx/channel.h>
#include <zircon/types.h>
#include "base/testfidl/cpp/fidl.h"
namespace base {
class TestInterfaceImpl : public testfidl::TestInterface {
public:
TestInterfaceImpl();
~TestInterfaceImpl() override;
void Add(int32_t a, int32_t b, AddCallback callback) override;
fidl::BindingSet<testfidl::TestInterface>& bindings() { return bindings_; }
private:
fidl::BindingSet<testfidl::TestInterface> bindings_;
};
zx_status_t VerifyTestInterface(
fidl::InterfacePtr<testfidl::TestInterface>& ptr);
}
#endif