/* -*- 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 . */ #pragma once #include #include #include class VclEventListeners { public: void Call(VclSimpleEvent& rEvent) const; void addListener(const Link& rListener); void removeListener(const Link& rListener); private: std::vector> m_aListeners; mutable bool m_updated = false; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ on> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Fanning <stevemfanning@yahoo.co.uk>2021-03-24 11:43:40 +0100
committerGerrit Code Review <gerrit@gerrit.libreoffice.org>2021-03-24 11:43:40 +0100
commitea184837a54fc85599d78baf59c83b6cf8bd0adb (patch)
tree44e5a388a768323c09555ef0fe69190fe5e6c07a /cppu/README
parent58eedc89e91d04493f751928706451a4faebcdd5 (diff)
Update git submodules