blob: 5bd5249eda621db5c598c761dd21953fdd9d81cf [file] [log] [blame]
// Copyright 2019 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.
library fuchsia.examples.intl.manager;
using fuchsia.intl;
/// For toy examples, defines the setter counterpart to the getter in
/// `fuchsia.intl.PropertyProvider`, allowing the internationalization `Profile` to be set via FIDL,
/// and hence passed on to additional recipients.
///
/// Note that in production scenarios, a `fuchsia.intl.PropertyProvider` would like be reading the
/// user's internationalization preferences from a preferences service and generating a `Profile`,
/// rather than allowing a `Profile` to be set directly.
@discoverable
protocol PropertyManager {
/// Set the internationalization profile that is served by this provider.
SetProfile(struct {
intl_profile fuchsia.intl.Profile;
}) -> ();
};