MeshLib C++ Docs
Loading...
Searching...
No Matches
MRShowModal.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "MRViewerFwd.h"
4
#include "
MRNotificationType.h
"
5
6
namespace
MR
7
{
10
11
13
MRVIEWER_API
void
showModal
(
const
std::string& error,
NotificationType
type );
14
inline
void
showError
(
const
std::string& error )
15
{
16
showModal
( error,
NotificationType::Error
);
17
}
18
19
}
MRNotificationType.h
MR::showModal
MRVIEWER_API void showModal(const std::string &error, NotificationType type)
Check if menu is available and if it is, shows modal window.
MR::NotificationType
NotificationType
Definition
MRNotificationType.h:10
MR::showError
void showError(const std::string &error)
Definition
MRShowModal.h:14
MR::NotificationType::Error
@ Error
MR
only for bindings generation
Definition
MRCameraOrientationPlugin.h:8
MeshLib
source
MRViewer
MRShowModal.h
Generated by
1.11.0