]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/android/errorlogger.h
Minimalistic port for Android
[libs/core.git] / source / core / android / errorlogger.h
diff --git a/source/core/android/errorlogger.h b/source/core/android/errorlogger.h
new file mode 100644 (file)
index 0000000..4512f09
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef MSP_CORE_ERRORLOGGER_ANDROID_H_
+#define MSP_CORE_ERRORLOGGER_ANDROID_H_
+
+#include <msp/debug/errorreporter.h>
+
+namespace Msp {
+namespace Android {
+
+class ErrorLogger: public Debug::ErrorReporter
+{
+public:
+       virtual bool report_uncaught_exception(const std::exception &) const;
+};
+
+} // namespace Android
+} // namespace Msp
+
+#endif