/* -*- 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_COMPHELPER_CHAINABLEPROPERTYSETINFO_HXX #define INCLUDED_COMPHELPER_CHAINABLEPROPERTYSETINFO_HXX #include #include #include #include /* * A ChainablePropertySetInfo is usually initialised with a pointer to the first element * of a null-terminated static table of PropertyInfo structs. This is placed in a hash_map * for fast access * */ namespace comphelper { class COMPHELPER_DLLPUBLIC ChainablePropertySetInfo: public ::cppu::WeakImplHelper< css::beans::XPropertySetInfo > { public: ChainablePropertySetInfo( PropertyInfo const * pMap ); void remove( const OUString& aName ); private: virtual ~ChainablePropertySetInfo() throw() override; // XPropertySetInfo virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() override; virtual css::beans::Property SAL_CALL getPropertyByName( const OUString& aName ) override; virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) override; PropertyInfoHash maMap; css::uno::Sequence < css::beans::Property > maProperties; friend class ChainablePropertySet; friend class MasterPropertySet; }; } #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ stro/collabora/co-23.05'>distro/collabora/co-23.05 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sot/inc
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2021-03-18 16:53:40 +0100
committerAndras Timar <andras.timar@collabora.com>2021-03-18 16:53:40 +0100
commit01d6d4419e08c16d5488970d3f3ad9f059ee2625 (patch)
tree972b9b010fa7b857ebba20398e5e3315c154b1d3 /sot/inc
parent18ffd81ed4d9eca82d71b07e8f4b1ef54d308fc3 (diff)