lok: Hide file linking in section
[LibreOffice.git] / sw / inc / proofreadingiterator.hxx
blob003a922bbc10c028b2574ddc1fea8c5f9af7b24c
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 { namespace sun { namespace star {
18 namespace linguistic2 { class XProofreadingIterator; }
19 namespace uno { class XComponentContext; }
20 } } }
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 { namespace proofreadingiterator {
29 css::uno::Reference<css::linguistic2::XProofreadingIterator> get(
30 css::uno::Reference<css::uno::XComponentContext> const & context);
32 void dispose();
34 } }
36 #endif
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */