blob: 2f6f4308e43676f868e23373dd51148bb23a17c9 [file] [log] [blame]
// Copyright 2015 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.
#ifndef LIB_UI_VIEWS_CPP_FORMATTING_H_
#define LIB_UI_VIEWS_CPP_FORMATTING_H_
#include <iosfwd>
#include <fuchsia/ui/viewsv1/cpp/fidl.h>
#include "lib/ui/geometry/cpp/formatting.h"
namespace fuchsia {
namespace ui {
namespace viewsv1 {
// NOTE:
// //garnet/public/lib/fostr/fidl/fuchsia.ui.viewsv1 generates ostream
// formatters for this library *except* those formatters that are listed here.
// The code generator knows which formatters to exclude from the generated code
// by consulting the 'amendments.json' file in that directory.
//
// If you add or remove formatters from this file, please be sure that the
// amendments.json file is updated accordingly.
std::ostream& operator<<(std::ostream& os,
const ::fuchsia::ui::viewsv1::ViewTreeToken& value);
std::ostream& operator<<(std::ostream& os,
const ::fuchsia::ui::viewsv1::ViewInfo& value);
std::ostream& operator<<(std::ostream& os,
const ::fuchsia::ui::viewsv1::ViewProperties& value);
std::ostream& operator<<(std::ostream& os,
const ::fuchsia::ui::viewsv1::ViewLayout& value);
} // namespace viewsv1
} // namespace ui
} // namespace fuchsia
#endif // LIB_UI_VIEWS_CPP_FORMATTING_H_