omni/ext/IExtensionHooks.h
File members: omni/ext/IExtensionHooks.h
// Copyright (c) 2020-2023, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software and related documentation without an express
// license agreement from NVIDIA CORPORATION 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"