blob: c3ed3081db69902f1a95c3f8e53fa52e9ffdfe29 [file] [log] [blame]
// Copyright 2020 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.
#include <fidl/test/protocoleventremove/llcpp/fidl.h> // nogncheck
namespace fidl_test = llcpp::fidl::test::protocoleventremove;
// [START contents]
class AsyncEventHandler : public fidl_test::Example::AsyncEventHandler {
void OnExistingEvent(fidl_test::Example::OnExistingEventResponse* event) override {}
};
class SyncEventHandler : public fidl_test::Example::SyncEventHandler {
void OnExistingEvent(fidl_test::Example::OnExistingEventResponse* event) override {}
};
void sendEvents(fidl::ServerBindingRef<fidl_test::Example> server) { server->OnExistingEvent(); }
// [END contents]
int main(int argc, const char** argv) { return 0; }