cid#1606642 Data race condition
[LibreOffice.git] / include / vcl / uitest / uitest.hxx
blob189df1de55e8026ee1dedd25c619d79b599eb5a5
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_VCL_UITEST_UITEST_HXX
11 #define INCLUDED_VCL_UITEST_UITEST_HXX
13 #include <rtl/ustring.hxx>
15 #include <memory>
17 namespace com::sun::star::beans { struct PropertyValue; }
18 namespace com::sun::star::uno { template <typename > class Sequence; }
20 class UIObject;
22 namespace UITest
24 bool executeCommand(const OUString& rCommand);
26 bool executeCommandWithParameters(const OUString& rCommand,
27 const css::uno::Sequence< css::beans::PropertyValue >& rArgs);
29 bool executeDialog(const OUString& rCommand);
31 std::unique_ptr<UIObject> getFocusTopWindow();
33 std::unique_ptr<UIObject> getFloatWindow();
36 #endif
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */