1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #include <vcl/uitest/uiobject.hxx>
11 #include <sfx2/sidebar/TabBar.hxx>
13 namespace sfx2::sidebar
15 class TabBarUIObject
: public WindowUIObject
17 VclPtr
<sfx2::sidebar::TabBar
> mxTabBar
;
19 virtual OUString
get_name() const override
;
22 TabBarUIObject(const VclPtr
<TabBar
>& xTabBar
);
24 virtual void execute(const OUString
& rAction
, const StringMap
& rParameters
) override
;
25 virtual StringMap
get_state() override
;
27 static std::unique_ptr
<UIObject
> create(vcl::Window
* pWindow
);
30 } // namespace sidebar
32 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */