cid#1606642 Data race condition
[LibreOffice.git] / include / vcl / uitest / formattedfielduiobject.hxx
blob0bbc95c75e9b8484110ed61ded8fa87d6f071277
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_FORMATTEDFIELDUIOBJECT_HXX
11 #define INCLUDED_VCL_UITEST_FORMATTEDFIELDUIOBJECT_HXX
13 #include <vcl/uitest/uiobject.hxx>
15 class FormattedField;
17 class FormattedFieldUIObject final : public SpinFieldUIObject
19 VclPtr<FormattedField> mxFormattedField;
21 public:
22 FormattedFieldUIObject(const VclPtr<FormattedField>& xEdit);
23 virtual ~FormattedFieldUIObject() override;
25 virtual void execute(const OUString& rAction, const StringMap& rParameters) override;
27 virtual StringMap get_state() override;
29 static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
31 private:
32 virtual OUString get_name() const override;
35 #endif
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */