blob: a9c51ef693a5366ab2946ef3fa7ab85909570c4d [file] [log] [blame]
// Copyright 2018 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.
// WARNING: This file is machine generated by fidlc.
#pragma once
#include <ddk/protocol/intel-hda-codec.h>
#include <fbl/type_support.h>
namespace ddk {
namespace internal {
DECLARE_HAS_MEMBER_FN_WITH_SIGNATURE(has_ihda_codec_protocol_get_driver_channel,
IhdaCodecGetDriverChannel,
zx_status_t (C::*)(zx_handle_t* out_channel));
template <typename D>
constexpr void CheckIhdaCodecProtocolSubclass() {
static_assert(internal::has_ihda_codec_protocol_get_driver_channel<D>::value,
"IhdaCodecProtocol subclasses must implement "
"zx_status_t IhdaCodecGetDriverChannel(zx_handle_t* out_channel");
}
} // namespace internal
} // namespace ddk