LibreOffice Module vcl (master)  1
uiobject-internal.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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  */
9 
10 #include <memory>
11 #include <vcl/uitest/uiobject.hxx>
12 #include "wizdlg.hxx"
13 
14 class RoadmapWizard;
15 
17 {
19 
20 public:
22  virtual ~RoadmapWizardUIObject() override;
23 
24  virtual StringMap get_state() override;
25 
26  virtual void execute(const OUString& rAction, const StringMap& rParameters) override;
27 
28  static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
29 
30 private:
31  virtual OUString get_name() const override;
32 };
33 
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void execute(const OUString &rAction, const StringMap &rParameters) override
Executes an action on the wrapped UI object, possibly with some additional parameters.
virtual StringMap get_state() override
Returns the state of the wrapped UI object as a string key value map.
VclPtr< vcl::RoadmapWizard > mxRoadmapWizard
static std::unique_ptr< UIObject > create(vcl::Window *pWindow)
RoadmapWizardUIObject(const VclPtr< vcl::RoadmapWizard > &xRoadmapWizard)
std::map< OUString, OUString > StringMap
virtual ~RoadmapWizardUIObject() override
virtual OUString get_name() const override