blob: f40780f82703330f92abf574f716116ac654c072 [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
#pragma once
#include "lib/fidl/cpp/internal/header.h"
//
// Domain objects declarations (i.e. "natural types" in unified bindings).
//
namespace fidl {
namespace test {
namespace bindingsdenylist {
#ifdef __Fuchsia__
class OnlyHlcpp;
#endif // __Fuchsia__
constexpr uint32_t AllBindings = 0u;
} // namespace bindingsdenylist
} // namespace test
} // namespace fidl
namespace fidl {} // namespace fidl
//
// Proxies and stubs declarations
//
namespace fidl {
namespace test {
namespace bindingsdenylist {
#ifdef __Fuchsia__
class OnlyHlcpp;
#endif // __Fuchsia__
#ifdef __Fuchsia__
class OnlyHlcpp final {
public:
class Handler;
static constexpr char Name[] = "fidl.test.bindingsdenylist.OnlyHlcpp";
explicit OnlyHlcpp(std::unique_ptr<::fidl::ServiceConnector> service)
: service_(std::move(service)) {}
explicit operator bool() const { return !!service_; }
private:
std::unique_ptr<::fidl::ServiceConnector> service_;
};
/// Facilitates member protocol registration for servers.
class OnlyHlcpp::Handler final {
public:
/// Constructs a new |Handler|. Does not take ownership of |service|.
explicit Handler(::fidl::ServiceHandlerBase* service) { (void)service; }
private:
};
#endif // __Fuchsia__
} // namespace bindingsdenylist
} // namespace test
} // namespace fidl