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_CHILD_WINDOW_HXX 2322de8995SAndre Fischer #define SFX_SIDEBAR_CHILD_WINDOW_HXX 2422de8995SAndre Fischer 2522de8995SAndre Fischer #include "sfx2/childwin.hxx" 2622de8995SAndre Fischer 2722de8995SAndre Fischer 287a32b0c8SAndre Fischer namespace sfx2 { namespace sidebar { 2922de8995SAndre Fischer 3022de8995SAndre Fischer /** Outer container of the sidbar window. 3122de8995SAndre Fischer 3222de8995SAndre Fischer Has to be registered for every application via the 3322de8995SAndre Fischer RegisterChildWindow() method from the RegisterControllers() method 3422de8995SAndre Fischer of the applications DLL. 3522de8995SAndre Fischer */ 3622de8995SAndre Fischer class SFX2_DLLPUBLIC SidebarChildWindow 3722de8995SAndre Fischer : public SfxChildWindow 3822de8995SAndre Fischer { 3922de8995SAndre Fischer public: 4022de8995SAndre Fischer SidebarChildWindow( 4122de8995SAndre Fischer Window* pParent, 4222de8995SAndre Fischer sal_uInt16 nId, 4322de8995SAndre Fischer SfxBindings* pBindings, 4422de8995SAndre Fischer SfxChildWinInfo* pInfo); 45*4374bebbSAndre Fischer virtual ~SidebarChildWindow (void); 4622de8995SAndre Fischer 4722de8995SAndre Fischer SFX_DECL_CHILDWINDOW(SidebarChildWindow); 4813e1c3b4SAndre Fischer 4913e1c3b4SAndre Fischer static sal_Int32 GetDefaultWidth (Window* pWindow); 5022de8995SAndre Fischer }; 5122de8995SAndre Fischer 5222de8995SAndre Fischer 537a32b0c8SAndre Fischer } } // end of namespace sfx2::sidebar 5422de8995SAndre Fischer 5522de8995SAndre Fischer #endif 56