IOsInfo2.gen.h#
Fully qualified name: omni/platforminfo/IOsInfo2.gen.h
File members: omni/platforminfo/IOsInfo2.gen.h
// SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
//
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
// property and proprietary rights in and to this material, related
// documentation and any modifications thereto. Any use, reproduction,
// disclosure or distribution of this material and related documentation
// without an express license agreement from NVIDIA CORPORATION or
// its affiliates is strictly prohibited.
// --------- Warning: This is a build system generated file. ----------
//
#include <omni/core/OmniAttr.h>
#include <omni/core/Interface.h>
#include <omni/core/ResultError.h>
#include <functional>
#include <utility>
#include <type_traits>
#ifndef OMNI_BIND_INCLUDE_INTERFACE_IMPL
template <>
class omni::core::Generated<omni::platforminfo::IOsInfo2_abi> : public omni::platforminfo::IOsInfo2_abi
{
public:
OMNI_PLUGIN_INTERFACE("omni::platforminfo::IOsInfo2")
bool isCompatibilityModeEnabled() noexcept;
uint64_t getMachineIdEx(const char* extraData,
omni::platforminfo::MachineIdFlags flags,
omni::platforminfo::MachineIdVersion version) noexcept;
};
#endif
#ifndef OMNI_BIND_INCLUDE_INTERFACE_DECL
inline bool omni::core::Generated<omni::platforminfo::IOsInfo2_abi>::isCompatibilityModeEnabled() noexcept
{
return isCompatibilityModeEnabled_abi();
}
inline uint64_t omni::core::Generated<omni::platforminfo::IOsInfo2_abi>::getMachineIdEx(
const char* extraData, omni::platforminfo::MachineIdFlags flags, omni::platforminfo::MachineIdVersion version) noexcept
{
return getMachineIdEx_abi(extraData, flags, version);
}
#endif
#undef OMNI_BIND_INCLUDE_INTERFACE_DECL
#undef OMNI_BIND_INCLUDE_INTERFACE_IMPL