summaryrefslogtreecommitdiff
path: root/src/assert.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-05-29 13:35:09 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-05-29 13:35:09 +0100
commit3c86484c4ed284fa8f1feff380959f5b52b264c6 (patch)
tree871d56f42af3c22adc36fa3dc034879af03c5847 /src/assert.hh
parent336df382379dbf9e09d68fa1abd00ffb3419a8a1 (diff)
Extract xmessage/MessageBox support in a notify_fatal_error function
Diffstat (limited to 'src/assert.hh')
-rw-r--r--src/assert.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/assert.hh b/src/assert.hh
index a65b09fd..f178e1ad 100644
--- a/src/assert.hh
+++ b/src/assert.hh
@@ -4,6 +4,11 @@
namespace Kakoune
{
+class String;
+
+// return true if user asked to ignore the error
+bool notify_fatal_error(const String& message);
+
void on_assert_failed(const char* message);
}