cid#1606642 Data race condition
[LibreOffice.git] / include / vcl / uitest / metricfielduiobject.hxx
blobf45da7723053478d7ca8db5f20c3b9821916a71f
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_METRICFIELDUIOBJECT_HXX
11 #define INCLUDED_VCL_UITEST_METRICFIELDUIOBJECT_HXX
13 #include <vcl/uitest/uiobject.hxx>
15 class MetricField;
17 class MetricFieldUIObject final : public SpinFieldUIObject
19 VclPtr<MetricField> mxMetricField;
21 public:
22 MetricFieldUIObject(const VclPtr<MetricField>& xEdit);
23 virtual ~MetricFieldUIObject() 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: */