IAppMessageBox.h#
Fully qualified name: omni/kit/IAppMessageBox.h
File members: omni/kit/IAppMessageBox.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 "../../carb/Interface.h"
namespace omni
{
namespace kit
{
enum class MessageBoxType
{
eInfo,
eWarning,
eError,
eQuestion
};
enum class MessageBoxButtons
{
eOk,
eOkCancel,
eYesNo
};
enum class MessageBoxResponse
{
eOk,
eCancel,
eYes,
eNo,
eNone,
eError
};
class IAppMessageBox
{
public:
CARB_PLUGIN_INTERFACE("omni::kit::IAppMessageBox", 1, 1);
virtual MessageBoxResponse show(const char* message,
const char* title,
MessageBoxType type,
MessageBoxButtons buttons) = 0;
};
// Inline Functions //
} // namespace kit
} // namespace omni