summaryrefslogtreecommitdiff
path: root/desktop/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-01-25 12:29:16 +0100
committerMichael Stahl <mstahl@redhat.com>2016-01-25 12:31:39 +0100
commit2b63e576a5cf06f4af877d63403ad7955ac71b72 (patch)
tree228f05257af1a116e65ba4040ce606489526c512 /desktop/inc
parentf3f305b6a5f515fbff35b3b551a953307be47216 (diff)
libreofficekit: ask for password when loading encrypted documents
Change-Id: I3b3b0c0e64965280c24842b0cf70a21b8abb4dfb
Diffstat (limited to 'desktop/inc')
-rw-r--r--desktop/inc/lib/init.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx
index 9003859e5eba..ee598a0c07b0 100644
--- a/desktop/inc/lib/init.hxx
+++ b/desktop/inc/lib/init.hxx
@@ -14,9 +14,12 @@
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <memory>
+#include <map>
#include "../../source/inc/desktopdllapi.h"
#include <osl/thread.h>
+class LOKInteractionHandler;
+
namespace desktop {
struct DESKTOP_DLLPUBLIC LibLODocument_Impl : public _LibreOfficeKitDocument
{
@@ -36,8 +39,10 @@ namespace desktop {
oslThread maThread;
LibreOfficeKitCallback mpCallback;
void *mpCallbackData;
+ std::map<OString, rtl::Reference<LOKInteractionHandler>> mInteractionMap;
LibLibreOffice_Impl();
+ ~LibLibreOffice_Impl();
};
}