Kaydet (Commit) d7a523e3 authored tarafından Miklos Vajna's avatar Miklos Vajna

xmlsecurity: mark two classes as public to be able to unit-test them

Change-Id: I64dbf379a2d01ff46c5c32655958c63b04d86895
üst 9d4bfc61
......@@ -16,6 +16,10 @@ $(eval $(call gb_Library_set_include,xmlsecurity,\
-I$(SRCDIR)/xmlsecurity/inc \
))
$(eval $(call gb_Library_add_defs,xmlsecurity,\
-DXMLSECURITY_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_use_external,xmlsecurity,boost_headers))
$(eval $(call gb_Library_set_precompiled_header,xmlsecurity,$(SRCDIR)/xmlsecurity/inc/pch/precompiled_xmlsecurity))
......
......@@ -23,6 +23,7 @@
#include <com/sun/star/uno/Reference.h>
#include <rtl/ustring.hxx>
#include "xmlsecurity/sigstruct.hxx"
#include "xmlsecuritydllapi.h"
#include <vector>
......@@ -62,7 +63,7 @@ struct SignatureStreamHelper
};
class DocumentSignatureHelper
class XMLSECURITY_DLLPUBLIC DocumentSignatureHelper
{
public:
......
......@@ -25,6 +25,7 @@
#include <tools/link.hxx>
#include <rtl/ustring.hxx>
#include <xmlsecurity/sigstruct.hxx>
#include <xmlsecuritydllapi.h>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/xml/sax/XWriter.hpp>
......@@ -87,7 +88,7 @@ struct XMLSignatureVerifyResult
**********************************************************/
class XMLSignatureHelper
class XMLSECURITY_DLLPUBLIC XMLSignatureHelper
{
private:
::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > mxCtx;
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_XMLSECURITY_INC_XMLSECURITYDLLAPI_H
#define INCLUDED_XMLSECURITY_INC_XMLSECURITYDLLAPI_H
#include <sal/types.h>
#if defined(XMLSECURITY_DLLIMPLEMENTATION)
#define XMLSECURITY_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define XMLSECURITY_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#endif // INCLUDED_XMLSECURITY_INC_XMLSECURITYDLLAPI_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment