blob: af08b9d0e001360546e1c954be28bfae3881aeef [file] [log] [blame]
{{/*
// Copyright 2022 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.
*/}}
{{- define "Filename:driver/NaturalMessagingHeader" -}}
fidl/{{ .LibraryDots }}/cpp/driver/natural_messaging.h
{{- end }}
{{- define "File:driver/NaturalMessagingHeader" -}}
{{- UseUnified -}}
{{- SetTransport "Driver" -}}
// WARNING: This file is machine generated by fidlgen.
#pragma once
#include <lib/fidl_driver/cpp/natural_messaging.h>
#include <{{ .Library | Filename "Markers" }}>
#include <{{ .Library | Filename "NaturalTypesHeader" }}>
#include <{{ .Library | Filename "driver/WireMessagingHeader" }}>
{{ IfdefFuchsia }}
{{ EndifFuchsia }}
{{- range .Decls }}
{{- if Eq .Kind Kinds.Protocol }}{{ $protocol := . }}
{{- range $transport, $_ := .Transports }}
{{- if eq $transport "Driver" -}}
{{- template "Protocol:NaturalMessagingHeader" $protocol }}
{{- template "Protocol:Client:driver/NaturalMessagingHeader" $protocol }}
{{- template "Protocol:EventHandler:NaturalMessagingHeader" $protocol }}
{{- template "Protocol:Interface:NaturalMessagingHeader" $protocol }}
{{- template "Protocol:Dispatcher:NaturalMessagingHeader" $protocol }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{ UnsetTransport -}}
{{ EndOfFile }}
{{ end }}