1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef INCLUDED_TEST_UTIL_XSEARCHABLE_HXX
11 #define INCLUDED_TEST_UTIL_XSEARCHABLE_HXX
13 #include <test/testdllapi.hxx>
15 #include <com/sun/star/uno/Reference.hxx>
20 class OOO_DLLPUBLIC_TEST XSearchable
23 XSearchable(OUString aString
, sal_Int32 nCount
) : maSearchString(std::move(aString
)), mnCount(nCount
) {}
24 XSearchable() : maSearchString(u
"SearchString"_ustr
), mnCount(1) {}
25 virtual ~XSearchable();
31 virtual css::uno::Reference
< css::uno::XInterface
> init() = 0;
34 OUString maSearchString
;
40 #endif // INCLUDED_TEST_UTIL_XSEARCHABLE_HXX
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */