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 <rtl/ustring.hxx>
11 : #include <com/sun/star/uno/Reference.hxx>
12 : #include <test/testdllapi.hxx>
13 :
14 : namespace apitest {
15 :
16 : class OOO_DLLPUBLIC_TEST XNameContainer
17 : {
18 : public:
19 : // removes default entry
20 : XNameContainer();
21 : // removes given entry
22 : XNameContainer(const OUString& rName);
23 :
24 : virtual css::uno::Reference< css::uno::XInterface > init() = 0;
25 :
26 : void testRemoveByName();
27 :
28 0 : virtual ~XNameContainer() {}
29 :
30 : private:
31 : OUString maNameToRemove;
32 : };
33 :
34 : }
35 :
36 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|