diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-08-07 14:58:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-07 14:58:25 +0200 |
commit | b0dfec77c27fb413eeaf3b9b2fdcb3777526c28f (patch) | |
tree | 46839c0211a51295d3b4d2974fbc81d048e2e6a1 /platform/osx/os_osx.h | |
parent | 309c0cb01b51c106aff2a322f4bfe0ae6eb3317a (diff) | |
parent | 68bf2434619e863147a248e5cefeb37bad96fd8f (diff) | |
download | redot-engine-b0dfec77c27fb413eeaf3b9b2fdcb3777526c28f.tar.gz |
Merge pull request #10127 from bruvzg/3.0-osx-logging
Duplicate error messages to macOS logging system (Console.app)
Diffstat (limited to 'platform/osx/os_osx.h')
-rw-r--r-- | platform/osx/os_osx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/osx/os_osx.h b/platform/osx/os_osx.h index cb9dd1dd8e..4b5682518f 100644 --- a/platform/osx/os_osx.h +++ b/platform/osx/os_osx.h @@ -136,6 +136,8 @@ public: virtual String get_name(); + virtual void print_error(const char *p_function, const char *p_file, int p_line, const char *p_code, const char *p_rationale, ErrorType p_type = ERR_ERROR); + virtual void alert(const String &p_alert, const String &p_title = "ALERT!"); virtual void set_cursor_shape(CursorShape p_shape); |