Files
libreoffice/svx/inc/uiobject.hxx
Mike Kaganski bb406680ce Put definition of _CRT_RAND_S into bin/update_pch
so it doesn't get removed again from sal/inc/pch/precompiled_sal.hxx
(see commit 4af9612f2b).

Also make necessary changes to some of the files that start to fail
building after running bin/update_pch.sh, so that the patch is
self-contained and leaves the tree in fully functional state.

tools namespace had to be prepended with :: to disambiguate from
drawinglayer::tools

vcl/inc/window.h includes were amended, because ExtTextInputAttr is
from vcl/commandevent.hxx, and enum class ShowTrackFlags is from
vcl/window.hxx

Change-Id: I47179622350754cba2f95d26a1bafd3dfbbc935b
Reviewed-on: https://gerrit.libreoffice.org/42559
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-09-22 20:52:34 +02:00

41 lines
1.0 KiB
C++

/* -*- 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/.
*/
#ifndef INCLUDED_SVX_INC_UIOBJECT_HXX
#define INCLUDED_SVX_INC_UIOBJECT_HXX
#include <memory>
#include <vcl/uitest/uiobject.hxx>
class SvxShowCharSet;
class SvxShowCharSetUIObject : public WindowUIObject
{
VclPtr<SvxShowCharSet> mxCharSet;
public:
SvxShowCharSetUIObject(const VclPtr<SvxShowCharSet>& xCharSet);
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;
};
#endif // INCLUDED_SVX_INC_UIOBJECT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */