summaryrefslogtreecommitdiff
path: root/desktop/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-09-25 01:06:31 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-09-25 01:06:31 +0200
commit14a9a7d52074104afa24278a7a350f05d6df572a (patch)
tree78c839c59a552d7d484941261407b528ffe3173a /desktop/inc
parent9b9f2ad9c819421c9f24bcbca98ee147f70d85b2 (diff)
desktop: make LibLibreOffice_Impl visible to testcases
Change-Id: I345a6cab57cc594614e348700bb3c1c9a0673989
Diffstat (limited to 'desktop/inc')
-rw-r--r--desktop/inc/lib/init.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx
index 186964fdc777..da31adc27a50 100644
--- a/desktop/inc/lib/init.hxx
+++ b/desktop/inc/lib/init.hxx
@@ -15,6 +15,7 @@
#include <com/sun/star/lang/XComponent.hpp>
#include <memory>
#include "../../source/inc/desktopdllapi.h"
+#include <osl/thread.h>
namespace desktop {
struct DESKTOP_DLLPUBLIC LibLODocument_Impl : public _LibreOfficeKitDocument
@@ -25,6 +26,17 @@ namespace desktop {
explicit LibLODocument_Impl(const css::uno::Reference <css::lang::XComponent> &xComponent);
~LibLODocument_Impl();
};
+
+ struct DESKTOP_DLLPUBLIC LibLibreOffice_Impl : public _LibreOfficeKit
+ {
+ OUString maLastExceptionMsg;
+ std::shared_ptr< LibreOfficeKitClass > m_pOfficeClass;
+ oslThread maThread;
+ LibreOfficeKitCallback mpCallback;
+ void *mpCallbackData;
+
+ LibLibreOffice_Impl();
+ };
}
#endif