44 #elif defined(_WINDOWS)
46 #elif defined(ANDROID)
47 #include <android/log.h>
52 struct ZENI_DLL
Error :
public std::exception {
63 #elif defined(_WINDOWS)
64 MessageBoxA(0, msg, 0, MB_OK);
65 #elif defined(ANDROID)
66 __android_log_print(ANDROID_LOG_VERBOSE,
"zenilib",
"%s", msg);
68 String cmd(
"xmessage -center '");
69 for(
const char * cc = msg; *cc; ++cc) {
Error(const String &msg_)
void mac_message_box(const char *const msg)
const char * c_str() const
void message_box(const char *const &msg)