summaryrefslogtreecommitdiff
path: root/basic/source/inc/sbdiagnose.hxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-02-08 12:44:14 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-02-08 12:44:14 +0100
commit673f8e891f21fa015370529f3856690d517e3c22 (patch)
tree33f8619e362d8529205bf9595582da93b937bbff /basic/source/inc/sbdiagnose.hxx
parenta1a2a5a68046e75aba3dfd6ba06083a314f12182 (diff)
debuglevels: #i116845# introduce CaptureAssertions, to forward assertions raised during Basic script execution to a user-defined function
Diffstat (limited to 'basic/source/inc/sbdiagnose.hxx')
-rw-r--r--basic/source/inc/sbdiagnose.hxx34
1 files changed, 34 insertions, 0 deletions
diff --git a/basic/source/inc/sbdiagnose.hxx b/basic/source/inc/sbdiagnose.hxx
new file mode 100644
index 000000000000..065efdb183e1
--- /dev/null
+++ b/basic/source/inc/sbdiagnose.hxx
@@ -0,0 +1,34 @@
+/*************************************************************************
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2011 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef BASIC_SBDIAGNOSE_HXX
+#define BASIC_SBDIAGNOSE_HXX
+
+#ifdef DBG_UTIL
+void ResetCapturedAssertions();
+#endif
+
+#endif // BASIC_SBDIAGNOSE_HXX