summaryrefslogtreecommitdiff
path: root/src/lib/dcpomatic_sentry.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-11-30 23:45:20 +0100
committerCarl Hetherington <cth@carlh.net>2025-12-01 00:54:39 +0100
commit42d11b68812108ccda802d0ff950b5299d08e40a (patch)
treec67b5fad9af6148d722aef9770971466cc0ca54c /src/lib/dcpomatic_sentry.h
parente30a2d522f0a5e29ed13254e8cac0c0b3e91cedc (diff)
Add sentry crash reporting on Windows.sentry
Diffstat (limited to 'src/lib/dcpomatic_sentry.h')
-rw-r--r--src/lib/dcpomatic_sentry.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/lib/dcpomatic_sentry.h b/src/lib/dcpomatic_sentry.h
new file mode 100644
index 000000000..d7c07543d
--- /dev/null
+++ b/src/lib/dcpomatic_sentry.h
@@ -0,0 +1,26 @@
+/*
+ Copyright (C) 2025 Carl Hetherington <cth@carlh.net>
+
+ This file is part of DCP-o-matic.
+
+ DCP-o-matic is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ DCP-o-matic is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+
+#include <boost/filesystem.hpp>
+
+
+void maybe_setup_sentry();
+void closedown_sentry();