blob: eb4e09adb30937296e3911f8ba1e9353ff42dc9a [file]
// 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/protocolmethodadd/cpp/fidl.h> // nogncheck
namespace fidl_test = fidl::test::protocolmethodadd;
// [START contents]
class Server : public fidl_test::Example {
void ExistingMethod() final {}
void NewMethod() final {}
};
void client(fidl_test::ExamplePtr client) {
client->ExistingMethod();
client->NewMethod();
}
// [END contents]
int main(int argc, const char** argv) { return 0; }