/* -*- 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_VCL_ICONTEXT_HXX #define INCLUDED_VCL_ICONTEXT_HXX #include #include namespace vcl { class VCL_DLLPUBLIC IContext { protected: IContext() { maContext.push_back( vcl::EnumContext::Context::Any ); } public: void SetContext(const std::vector& aContext) { maContext = aContext; } bool HasContext( const vcl::EnumContext::Context eContext ) const { auto aFind = std::find(maContext.begin(), maContext.end(), eContext); if (aFind == maContext.end()) return false; return true; } private: std::vector maContext; }; } // namespace vcl #endif // INCLUDED_VCL_ICONTEXT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ 021'>distro/collabora/co-2021 LibreOffice 界面翻译代码仓库文档基金会
aboutsummaryrefslogtreecommitdiff
path: root/source/bs
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-12-07 19:50:04 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-12-07 19:51:15 +0100
commitcdfaa521c1ae3d7e579b0a8004ccd4878fa4411d (patch)
tree7183498d178cde85e9ec004ad223ae9493019803 /source/bs
parent0369e1b2008d9af7b917a8348bec867d2f9334a0 (diff)
update translations for master/7.5.0 beta1
and force-fix errors using pocheck Change-Id: Icd98b0989374eb876ff12151843b981dc723dba5
Diffstat (limited to 'source/bs')