bump product version to 5.0.4.1
[LibreOffice.git] / sd / source / ui / framework / module / SlideSorterModule.hxx
blob349d2f18cadc343c9fcd0df4e4e9dafe543ef28a
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 .
20 #ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_MODULE_SLIDESORTERMODULE_HXX
21 #define INCLUDED_SD_SOURCE_UI_FRAMEWORK_MODULE_SLIDESORTERMODULE_HXX
23 #include "ResourceManager.hxx"
25 #include <com/sun/star/drawing/framework/XControllerManager.hpp>
26 #include <com/sun/star/drawing/framework/XTabBar.hpp>
28 namespace sd { namespace framework {
30 /** This module is responsible for showing the slide sorter bar and the
31 slide sorter view in the center pane.
33 class SlideSorterModule
34 : public ResourceManager
36 public:
37 SlideSorterModule (
38 const css::uno::Reference<css::frame::XController>& rxController,
39 const OUString& rsLeftPaneURL);
40 virtual ~SlideSorterModule();
42 virtual void SaveResourceState() SAL_OVERRIDE;
43 // XConfigurationChangeListener
45 virtual void SAL_CALL notifyConfigurationChange (
46 const css::drawing::framework::ConfigurationChangeEvent& rEvent)
47 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
49 private:
50 css::uno::Reference<css::drawing::framework::XResourceId> mxViewTabBarId;
51 css::uno::Reference<css::drawing::framework::XControllerManager> mxControllerManager;
53 void UpdateViewTabBar (
54 const css::uno::Reference<css::drawing::framework::XTabBar>& rxViewTabBar);
57 } } // end of namespace sd::framework
59 #endif
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */