IExtensionHooks.h#
Fully qualified name: omni/ext/IExtensionHooks.h
File members: omni/ext/IExtensionHooks.h
// SPDX-FileCopyrightText: Copyright (c) 2020-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.
#pragma once
#include <omni/core/IObject.h>
#include <omni/ext/IExtensionData.h>
namespace omni
{
namespace ext
{
OMNI_DECLARE_INTERFACE(IExtensionHooks);
class IExtensionHooks_abi : public omni::core::Inherits<omni::core::IObject, OMNI_TYPE_ID("omni.ext.IExtensionHooks")>
{
protected:
virtual void onStartup_abi(OMNI_ATTR("not_null") IExtensionData* ext) noexcept = 0;
virtual void onShutdown_abi(IExtensionData* ext) noexcept = 0;
};
} // namespace ext
} // namespace omni
#include "IExtensionHooks.gen.h"