RigsofRods
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions
ErrorUtils Struct Reference

#include <ErrorUtils.h>

Static Public Member Functions

static int ShowError (const std::string &title, const std::string &message)
 shows a simple error message box More...
 
static int ShowInfo (const std::string &title, const std::string &message)
 shows a simple info message box More...
 
static int ShowMsgBox (const std::string &title, const std::string &err, int type)
 shows a generic message box More...
 

Detailed Description

Definition at line 35 of file ErrorUtils.h.

Member Function Documentation

◆ ShowError()

int ErrorUtils::ShowError ( const std::string &  title,
const std::string &  message 
)
static

shows a simple error message box

Returns
0 on success, everything else on error

Definition at line 46 of file ErrorUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ShowInfo()

int ErrorUtils::ShowInfo ( const std::string &  title,
const std::string &  message 
)
static

shows a simple info message box

Returns
0 on success, everything else on error

Definition at line 53 of file ErrorUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ShowMsgBox()

int ErrorUtils::ShowMsgBox ( const std::string &  title,
const std::string &  err,
int  type 
)
static

shows a generic message box

Parameters
type0 for error, 1 for info
Returns
0 on success, everything else on error

Definition at line 58 of file ErrorUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this struct was generated from the following files: