Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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 : */
9 :
10 : #include <test/testdllapi.hxx>
11 :
12 : namespace apitest {
13 :
14 : class OOO_DLLPUBLIC_TEST XSearchable
15 : {
16 : public:
17 21 : XSearchable(const OUString& rString, sal_Int32 nCount) : maSearchString(rString), mnCount(nCount) {}
18 : XSearchable() : maSearchString("SearchString"), mnCount(1) {}
19 : virtual ~XSearchable();
20 :
21 : void testFindFirst();
22 : void testFindNext();
23 : void testFindAll();
24 :
25 : virtual css::uno::Reference< css::uno::XInterface > init() = 0;
26 :
27 : private:
28 : OUString maSearchString;
29 : sal_Int32 mnCount;
30 : };
31 :
32 : }
33 :
34 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|