2016-06-25 00:16:45 +02:00
|
|
|
/* -*- 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/.
|
|
|
|
*/
|
|
|
|
|
2017-09-20 20:04:51 +03:00
|
|
|
#ifndef INCLUDED_SVX_INC_UIOBJECT_HXX
|
|
|
|
#define INCLUDED_SVX_INC_UIOBJECT_HXX
|
|
|
|
|
2017-04-14 08:42:15 +10:00
|
|
|
#include <memory>
|
2016-06-25 00:16:45 +02:00
|
|
|
#include <vcl/uitest/uiobject.hxx>
|
|
|
|
|
|
|
|
class SvxShowCharSet;
|
|
|
|
|
2016-06-25 17:48:51 +02:00
|
|
|
class SvxShowCharSetUIObject : public WindowUIObject
|
2016-06-25 00:16:45 +02:00
|
|
|
{
|
|
|
|
VclPtr<SvxShowCharSet> mxCharSet;
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2017-06-05 08:34:22 +02:00
|
|
|
SvxShowCharSetUIObject(const VclPtr<SvxShowCharSet>& xCharSet);
|
2016-06-25 00:16:45 +02:00
|
|
|
|
|
|
|
virtual StringMap get_state() override;
|
|
|
|
|
|
|
|
virtual void execute(const OUString& rAction,
|
|
|
|
const StringMap& rParameters) override;
|
|
|
|
|
|
|
|
static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
OUString get_name() const override;
|
|
|
|
};
|
|
|
|
|
2017-09-20 20:04:51 +03:00
|
|
|
#endif // INCLUDED_SVX_INC_UIOBJECT_HXX
|
|
|
|
|
2016-06-25 00:16:45 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|