7#ifndef __HDI_CORE_ALERTS__
8#define __HDI_CORE_ALERTS__
32 CancelButtonChosen = 1,
60 void message(
const std::string& message_);
71 void error(
const std::string& error_);
100 const std::string& question_,
101 const std::string& yesBtnStr_,
102 const std::string& noBtnStr_
136 const std::string& question_,
137 const std::string& yesBtnStr_,
139 const std::string& noBtnStr_,
172 const std::string& question_,
173 const std::string& yesBtnStr_,
174 const std::string& noBtnStr_,
175 const std::string& cancelBtnStr_
194 const std::string& question_,
218 const std::string& question_,
219 const std::string& yesBtnStr_,
221 const std::string& noBtnStr_,
223 const std::string& cancelBtnStr_,
Base class for templated __Callback class.
Definition: hdicoreCallback.h:68
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
void message(const std::string &message_)
Shows a simple platform message dialog, with just an "OK" button and a message/warning icon.
Response question(const std::string &question_)
Shows a question dialog with default affirmative, negative, and dismissal buttons ("Yes",...
Response
Describes the choice the user made when dismissing an alert.
Definition: hdicoreAlerts.h:31
void error(const std::string &error_)
Shows a simple platform error dialog, with just an "OK" button and an error icon.
bool setState(const bool enabled_)
Allows alerts to be (temporarily) disabled.
void beep()
Causes a platform beep to occur.
Response confirm(const std::string &question_)
Shows a confirmation dialog with default affirmative and negative buttons ("Yes" and "No")