Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / sw / inc / proofreadingiterator.hxx
blob953efcf3b7afcb05f38e090fe2e1a563c81d376f
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.hxx>
16 #include <sal/types.h>
18 namespace com { namespace sun { namespace star {
19 namespace linguistic2 { class XProofreadingIterator; }
20 namespace uno { class XComponentContext; }
21 } } }
23 // A simple wrapper around the css.linguistic2.ProofreadingIterator
24 // single-instance service. The first time that service implementation gets
25 // instantiated it immediately starts a GrammarCheckingIterator thread that
26 // eventually needs to be joined (via dispose):
28 namespace sw { namespace proofreadingiterator {
30 css::uno::Reference<css::linguistic2::XProofreadingIterator> get(
31 css::uno::Reference<css::uno::XComponentContext> const & context);
33 void dispose();
35 } }
37 #endif
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */