bump product version to 6.3.0.0.beta1
[LibreOffice.git] / sd / source / ui / sidebar / PanelFactory.hxx
blobe42fc641217ade4efddd3a46e4efd7eab882a473
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_SD_SOURCE_UI_SIDEBAR_PANELFACTORY_HXX
20 #define INCLUDED_SD_SOURCE_UI_SIDEBAR_PANELFACTORY_HXX
22 #include <cppuhelper/compbase.hxx>
23 #include <cppuhelper/basemutex.hxx>
25 #include <com/sun/star/ui/XUIElementFactory.hpp>
27 namespace sd { namespace sidebar {
29 typedef ::cppu::WeakComponentImplHelper <
30 css::ui::XUIElementFactory
31 > PanelFactoryInterfaceBase;
33 class PanelFactory
34 : private ::cppu::BaseMutex,
35 public PanelFactoryInterfaceBase
37 public:
38 explicit PanelFactory ();
39 virtual ~PanelFactory() override;
40 PanelFactory(const PanelFactory&) = delete;
41 PanelFactory& operator=(const PanelFactory&) = delete;
43 virtual void SAL_CALL disposing() override;
45 // XUIElementFactory
47 css::uno::Reference<css::ui::XUIElement> SAL_CALL createUIElement (
48 const OUString& rsResourceURL,
49 const css::uno::Sequence<css::beans::PropertyValue>& rArguments) override;
52 } } // end of namespace sd::sidebar
54 #endif
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */