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 <com/sun/star/uno/Reference.hxx>
11 : #include <test/testdllapi.hxx>
12 :
13 : namespace apitest {
14 :
15 : class OOO_DLLPUBLIC_TEST XReplaceable
16 : {
17 : public:
18 21 : XReplaceable( const OUString& rSearchString, const OUString& rReplaceString):
19 21 : maSearchString(rSearchString), maReplaceString(rReplaceString) {}
20 : virtual css::uno::Reference< css::uno::XInterface > init() = 0;
21 :
22 : void testCreateReplaceDescriptor();
23 : void testReplaceAll();
24 :
25 : protected:
26 21 : ~XReplaceable() {}
27 :
28 : private:
29 : OUString maSearchString;
30 : OUString maReplaceString;
31 : };
32 :
33 : }
34 :
35 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|