fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / include / svx / sidebar / PanelLayout.hxx
blob3395e7f9aab771474a6df67434ea62abf74c6a81
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 SIDEBAR_PANELLAYOUT_HXX
11 #define SIDEBAR_PANELLAYOUT_HXX
13 #include <svx/svxdllapi.h>
15 #include <vcl/builder.hxx>
16 #include <vcl/ctrl.hxx>
18 #include <com/sun/star/frame/XFrame.hpp>
20 /// This class is the base for the Widget Layout-based sidebar panels.
21 class SVX_DLLPUBLIC PanelLayout : public Control, public VclBuilderContainer
23 public:
24 PanelLayout(Window* pParent, const OString& rID, const OUString& rUIXMLDescription,
25 const com::sun::star::uno::Reference<com::sun::star::frame::XFrame> &rFrame);
26 virtual ~PanelLayout() {}
28 virtual Size GetOptimalSize() const;
29 virtual void setPosSizePixel(long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags = WINDOW_POSSIZE_ALL);
32 #endif
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */