tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / include / test / text / xautotextcontainer.hxx
blobcfc20f04c629865a1d66f4d5be544cee1e15574b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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 #pragma once
12 #include <rtl/ustring.hxx>
13 #include <test/testdllapi.hxx>
15 #include <com/sun/star/uno/XInterface.hpp>
17 #include <com/sun/star/uno/Reference.hxx>
18 #include <utility>
20 namespace apitest
22 class OOO_DLLPUBLIC_TEST XAutoTextContainer
24 public:
25 XAutoTextContainer(OUString aNameToRemove)
26 : m_aName(std::move(aNameToRemove))
30 virtual css::uno::Reference<css::uno::XInterface> init() = 0;
32 void testInsertNewByName();
33 void testRemoveByName();
35 protected:
36 ~XAutoTextContainer() {}
38 private:
39 OUString m_aName;
42 } // namespace apitest
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */