diff options
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/lok.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/comphelper/lok.hxx b/include/comphelper/lok.hxx index 545136f762ea..4ca03f049225 100644 --- a/include/comphelper/lok.hxx +++ b/include/comphelper/lok.hxx @@ -20,6 +20,14 @@ class LanguageTag; namespace comphelper::LibreOfficeKit { +/// interface for allowing threads to be transiently shutdown. +class COMPHELPER_DLLPUBLIC SAL_LOPLUGIN_ANNOTATE("crosscast") ThreadJoinable +{ +public: + /// shutdown and join threads, @returns true on success + virtual bool joinThreads() = 0; +}; + // Functions to be called only from the LibreOfficeKit implementation in desktop, not from other // places in LibreOffice code. |