Branch libreoffice-5-0-4
[LibreOffice.git] / include / test / container / xnamed.hxx
blob5c79cc1410aa88729a1bbb8f8fe67820f59c5673
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_TEST_CONTAINER_XNAMED_HXX
11 #define INCLUDED_TEST_CONTAINER_XNAMED_HXX
13 #include <rtl/ustring.hxx>
14 #include <com/sun/star/uno/Reference.hxx>
15 #include <test/testdllapi.hxx>
17 namespace apitest {
19 class OOO_DLLPUBLIC_TEST XNamed
21 public:
22 XNamed(const OUString& rName): maName(rName) {}
23 virtual ~XNamed();
25 void testGetName();
26 void testSetName();
28 virtual css::uno::Reference< css::uno::XInterface > init() = 0;
29 private:
30 OUString maName;
36 #endif // INCLUDED_TEST_CONTAINER_XNAMED_HXX
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */