diff options
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKit.hxx')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.hxx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index 6f75eb6be5cb..797dd6bca73b 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -1051,7 +1051,6 @@ public: * @since LibreOffice 6.0 * @param pURL macro url to run */ - bool runMacro( const char* pURL) { return mpThis->pClass->runMacro( mpThis, pURL ); @@ -1197,6 +1196,17 @@ public: { mpThis->pClass->stopURP(mpThis, pURPContext); } + + /** + * Joins all threads if possible to get down to a single process + * which can be forked from safely. + * + * @returns non-zero for successful join, 0 for failure. + */ + int joinThreads() + { + return mpThis->pClass->joinThreads(mpThis); + } }; /// Factory method to create a lok::Office instance. |