diff options
author | Adam Kasztenny <adamkasztenny@gmail.com> | 2016-12-11 19:53:01 -0500 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-12-12 08:53:53 +0000 |
commit | 13cba3505f3af25b640e9d3fa8e24ccdf1378c68 (patch) | |
tree | 137dbd1c2879bf343dc1fe59ad7df333a1cb756e /xmlsecurity/inc | |
parent | 6f5024de2e1a5cc533527e45b33d9a415467c48d (diff) |
tdf#95416 Fix an include for xmlsecurity
Move one header file to inc/
Change-Id: If8f4bfcf29464011fe68573e7d4e67900aacc2cd
Reviewed-on: https://gerrit.libreoffice.org/31891
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r-- | xmlsecurity/inc/resourcemanager.hxx | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/xmlsecurity/inc/resourcemanager.hxx b/xmlsecurity/inc/resourcemanager.hxx new file mode 100644 index 000000000000..f2352a94e62e --- /dev/null +++ b/xmlsecurity/inc/resourcemanager.hxx @@ -0,0 +1,56 @@ +/* -*- 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/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_XMLSECURITY_SOURCE_DIALOGS_RESOURCEMANAGER_HXX +#define INCLUDED_XMLSECURITY_SOURCE_DIALOGS_RESOURCEMANAGER_HXX + +#include <tools/resmgr.hxx> +#include <tools/datetime.hxx> +#include <com/sun/star/util/DateTime.hpp> +#include <com/sun/star/uno/Sequence.hxx> + +#include <vector> + +class FixedImage; +class Control; +class LocaleDataWrapper; + +namespace XmlSec +{ + ResMgr* GetResMgr(); + + const LocaleDataWrapper& GetLocaleData(); + DateTime GetDateTime( const css::util::DateTime& _rDT ); + OUString GetDateTimeString( const css::util::DateTime& _rDT ); + OUString GetDateString( const css::util::DateTime& _rDT ); + + std::vector< std::pair< OUString, OUString> > + parseDN(const OUString& rRawString); + std::pair< OUString, OUString> GetDNForCertDetailsView( + const OUString & rRawString); + OUString GetContentPart( const OUString& _rRawString ); + + OUString GetHexString( const css::uno::Sequence< sal_Int8 >& _rSeq, const char* _pSep, sal_uInt16 _nLineBreak = 0xFFFF ); +} + +#define XMLSEC_RES(id) ResId(id,*XmlSec::GetResMgr()) + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |