diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-05-24 17:33:46 +0200 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2020-05-26 10:37:48 +0200 |
commit | de623b59a981e3d6a43b410a9216ec0acadc9ed1 (patch) | |
tree | 11147516d1237b55be5aab04b73ba0deaff7d7c8 /vcl/inc/uiobject-internal.hxx | |
parent | 2d1f1a1c849fd4f2c7f1211f8d3f03aec069bd44 (diff) |
tdf#131715: uitest: add wrapper for roadmapwizard
Change-Id: I8e8999b7862ad13cb6d3328e05abe120da3ed5c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94759
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'vcl/inc/uiobject-internal.hxx')
-rw-r--r-- | vcl/inc/uiobject-internal.hxx | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/vcl/inc/uiobject-internal.hxx b/vcl/inc/uiobject-internal.hxx new file mode 100644 index 000000000000..accecb2e8f08 --- /dev/null +++ b/vcl/inc/uiobject-internal.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#include <memory> +#include <vcl/uitest/uiobject.hxx> +#include "wizdlg.hxx" + +class RoadmapWizard; + +class RoadmapWizardUIObject final : public WindowUIObject +{ + VclPtr<vcl::RoadmapWizard> mxRoadmapWizard; + +public: + RoadmapWizardUIObject(const VclPtr<vcl::RoadmapWizard>& xRoadmapWizard); + virtual ~RoadmapWizardUIObject() override; + + virtual StringMap get_state() override; + + virtual void execute(const OUString& rAction, const StringMap& rParameters) override; + + static std::unique_ptr<UIObject> create(vcl::Window* pWindow); + +private: + virtual OUString get_name() const override; +}; + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |