sw a11y: clang-format SidebarWinAccessible code
[LibreOffice.git] / sw / inc / proofreadingiterator.hxx
bloba77dd9abfd03a04a616b3cc726e64c34442e9990
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_SW_INC_PROOFREADINGITERATOR_HXX
11 #define INCLUDED_SW_INC_PROOFREADINGITERATOR_HXX
13 #include <sal/config.h>
15 #include <com/sun/star/uno/Reference.h>
17 namespace com::sun::star {
18 namespace linguistic2 { class XProofreadingIterator; }
19 namespace uno { class XComponentContext; }
22 // A simple wrapper around the css.linguistic2.ProofreadingIterator
23 // single-instance service. The first time that service implementation gets
24 // instantiated it immediately starts a GrammarCheckingIterator thread that
25 // eventually needs to be joined (via dispose):
27 namespace sw::proofreadingiterator {
29 css::uno::Reference<css::linguistic2::XProofreadingIterator> get(
30 css::uno::Reference<css::uno::XComponentContext> const & context);
32 void dispose();
36 #endif
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */