blob: 4b8a9161ec51e9b52c8f9606b66b06a35e0e100f [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.
#include <fidl/test/tablememberremove/llcpp/fidl.h> // nogncheck
namespace fidl_test = llcpp::fidl::test::tablememberremove;
// [START contents]
void use_table(const fidl_test::Profile& profile) {
if (profile.has_timezone()) {
printf("timezone: %s", profile.timezone().data());
}
if (profile.has_temperature_unit()) {
printf("preferred unit: %s", profile.temperature_unit().data());
}
}
// [END contents]
int main(int argc, const char** argv) { return 0; }