/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * 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_ASYNCQUITHANDLER_HXX #define INCLUDED_COMPHELPER_ASYNCQUITHANDLER_HXX #include #include // Use: Application::PostUserEvent( LINK( &AsyncQuitHandler::instance(), AsyncQuitHandler, OnAsyncQuit ) ); class COMPHELPER_DLLPUBLIC AsyncQuitHandler { AsyncQuitHandler(); public: AsyncQuitHandler(const AsyncQuitHandler&) = delete; const AsyncQuitHandler& operator=(const AsyncQuitHandler&) = delete; static AsyncQuitHandler& instance(); static void QuitApplication(); DECL_STATIC_LINK(AsyncQuitHandler, OnAsyncQuit, void*, void); }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ce-5-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/opencl
AgeCommit message (Expand)Author
2023-04-10Drop SvStream::WriteCharPtrMike Kaganski
2023-03-27loplugin:stringadd in oox..pyunoNoel Grandin
2023-02-03Use raw string literal in opencl to keep PMD static analyser happyIlmari Lauhakangas
2022-08-13clang-tidy modernize-pass-by-value in variousNoel Grandin
2022-07-06opencl: no need for unhelpful nullptr OUString * case.Michael Meeks
2022-04-13loplugin:stringviewparam whitelist some more functionsNoel Grandin
2022-04-11loplugin:stringview add check for getToken().toInt32Noel Grandin
2022-01-30Recheck modules [o-r]* with IWYUGabor Kelemen
2021-10-30Prepare for removal of non-const operator[] from Sequence in openclMike Kaganski
2021-10-20loplugin:indentation check for indent inside blockNoel Grandin
2021-10-05drop 'using namespace std' in o* r* x*Julien Nabet
2021-08-20New loplugin:unusedcapturedefaultStephan Bergmann
2021-08-18loplugin:constparamsNoel Grandin
2021-04-27use more string_view in tools/streamNoel Grandin
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
2021-02-11Update OpenCL denylist and allowlistIlmari Lauhakangas
2021-01-28simplify code, use more subView()Noel
2020-12-29loplugin:stringviewparam: operator +Stephan Bergmann
2020-12-11Adapt the remaining OUString functions to std string_viewStephan Bergmann
2020-11-24loplugin:stringviewparam extend to comparison operatorsNoel
2020-11-19tdf#123936 Formatting files in module opencl with clang-formatPhilipp Hofer
2020-11-11convert more long -> tools::LongNoel