/* -*- 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_BROADCASTHELPER_HXX #define INCLUDED_COMPHELPER_BROADCASTHELPER_HXX #include #include namespace comphelper { // OMutexAndBroadcastHelper - a class which holds a Mutex and a OBroadcastHelper; // needed because when deriving from OPropertySetHelper, // the OBroadcastHelper has to be initialized before // the OPropertySetHelper class OMutexAndBroadcastHelper { protected: ::osl::Mutex m_aMutex; ::cppu::OBroadcastHelper m_aBHelper; public: OMutexAndBroadcastHelper() : m_aBHelper( m_aMutex ) { } ::osl::Mutex& GetMutex() { return m_aMutex; } ::cppu::OBroadcastHelper& GetBroadcastHelper() { return m_aBHelper; } const ::cppu::OBroadcastHelper& GetBroadcastHelper() const { return m_aBHelper; } }; } #endif // INCLUDED_COMPHELPER_BROADCASTHELPER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ libreoffice-6-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
?id=d1de326b0b2a1208969e36f19010fdd8ee2a4fb7&showmsg=1'>Expand) class='nohover-highlight'>
AgeCommit message (Expand)Author
2022-08-13clang-tidy modernize-pass-by-value in variousNoel Grandin
Author
Change-Id: Ifb91eb6d78ae1c6cb7050b89ab0ddc45fb029a09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150159 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2023-03-09tdf#153465 & tdf#153344 Sukapura Dark with 16px status bar iconsRizal Muttaqin
Change-Id: If255495c43f4606b7931b86901449453189e9994 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148551 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2023-03-05tdf#153465 Simplify Sukapura's light variant to make easier forRizal Muttaqin
generating dark variant Change-Id: I7d4d961b970be3ccdc261505b5ad4ab7ae982a6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148017 Tested-by: Rizal Muttaqin <rizmut@libreoffice.org> Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2023-02-28Sukapura: Add initial preparation for dark mode supportRizal Muttaqin
Change-Id: Ida7c68864c0ecb3bbd00cb6b87e4657b29447ec0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147870 Tested-by: Rizal Muttaqin <rizmut@libreoffice.org> Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2020-02-26Resolves tdf#130500 - Sukapura icon themeHeiko Tietze
Added to core and made default on macOS Change-Id: I1c1e8caab514198717cf6cd7e8c00a1c1d5c15da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89183 Tested-by: Jenkins Tested-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>