xref: /AOO41X/main/sfx2/source/sidebar/SidebarDockingWindow.hxx (revision 7a32b0c888def1bf84d1d657c48953bc10dc00c1)
122de8995SAndre Fischer /**************************************************************
222de8995SAndre Fischer  *
322de8995SAndre Fischer  * Licensed to the Apache Software Foundation (ASF) under one
422de8995SAndre Fischer  * or more contributor license agreements.  See the NOTICE file
522de8995SAndre Fischer  * distributed with this work for additional information
622de8995SAndre Fischer  * regarding copyright ownership.  The ASF licenses this file
722de8995SAndre Fischer  * to you under the Apache License, Version 2.0 (the
822de8995SAndre Fischer  * "License"); you may not use this file except in compliance
922de8995SAndre Fischer  * with the License.  You may obtain a copy of the License at
1022de8995SAndre Fischer  *
1122de8995SAndre Fischer  *   http://www.apache.org/licenses/LICENSE-2.0
1222de8995SAndre Fischer  *
1322de8995SAndre Fischer  * Unless required by applicable law or agreed to in writing,
1422de8995SAndre Fischer  * software distributed under the License is distributed on an
1522de8995SAndre Fischer  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1622de8995SAndre Fischer  * KIND, either express or implied.  See the License for the
1722de8995SAndre Fischer  * specific language governing permissions and limitations
1822de8995SAndre Fischer  * under the License.
1922de8995SAndre Fischer  *
2022de8995SAndre Fischer  *************************************************************/
2122de8995SAndre Fischer 
2222de8995SAndre Fischer #ifndef SFX_SIDEBAR_DOCKING_WINDOW_HXX
2322de8995SAndre Fischer #define SFX_SIDEBAR_DOCKING_WINDOW_HXX
2422de8995SAndre Fischer 
2522de8995SAndre Fischer #include "sfx2/dockwin.hxx"
26*7a32b0c8SAndre Fischer #include "sfx2/dockwin.hxx"
2722de8995SAndre Fischer #include "Sidebar.hxx"
2822de8995SAndre Fischer 
2995a18594SAndre Fischer #include <rtl/ref.hxx>
3022de8995SAndre Fischer 
31*7a32b0c8SAndre Fischer namespace sfx2 { namespace sidebar {
3222de8995SAndre Fischer 
3322de8995SAndre Fischer class SidebarChildWindow;
34ff12d537SAndre Fischer 
3522de8995SAndre Fischer class SidebarController;
3622de8995SAndre Fischer 
3722de8995SAndre Fischer class SidebarDockingWindow
3822de8995SAndre Fischer     : public SfxDockingWindow
3922de8995SAndre Fischer {
4022de8995SAndre Fischer public:
4122de8995SAndre Fischer     SidebarDockingWindow(
4222de8995SAndre Fischer         SfxBindings* pBindings,
4322de8995SAndre Fischer         SidebarChildWindow& rChildWindow,
4422de8995SAndre Fischer         Window* pParent,
4522de8995SAndre Fischer         WinBits nBits);
4622de8995SAndre Fischer     virtual ~SidebarDockingWindow (void);
4722de8995SAndre Fischer 
48*7a32b0c8SAndre Fischer     virtual sal_Bool Close (void);
49*7a32b0c8SAndre Fischer 
50*7a32b0c8SAndre Fischer     SfxChildWindow* GetChildWindow (void);
51*7a32b0c8SAndre Fischer 
5222de8995SAndre Fischer protected:
5322de8995SAndre Fischer     // Window overridables
5422de8995SAndre Fischer     virtual void GetFocus (void);
5522de8995SAndre Fischer 
5622de8995SAndre Fischer private:
57ff12d537SAndre Fischer     ::rtl::Reference<sfx2::sidebar::SidebarController> mpSidebarController;
5822de8995SAndre Fischer 
5922de8995SAndre Fischer     void DoDispose (void);
6022de8995SAndre Fischer };
6122de8995SAndre Fischer 
6222de8995SAndre Fischer 
63*7a32b0c8SAndre Fischer } } // end of namespace sfx2::sidebar
6422de8995SAndre Fischer 
6522de8995SAndre Fischer 
6622de8995SAndre Fischer #endif
67