1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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_SFX2_SOURCE_VIEW_IMPFRAME_HXX
21 #define INCLUDED_SFX2_SOURCE_VIEW_IMPFRAME_HXX
23 #include <sfx2/frame.hxx>
24 #include <sfx2/viewfrm.hxx>
27 #include <com/sun/star/frame/XController.hpp>
28 #include <com/sun/star/awt/XTopWindow.hpp>
29 #include <com/sun/star/awt/XWindow.hpp>
30 #include <com/sun/star/awt/PosSize.hpp>
31 #include <cppuhelper/weak.hxx>
33 #include <sfx2/viewsh.hxx>
34 #include <sfx2/sfxuno.hxx>
36 class SfxFrame_Impl
: public SfxBroadcaster
39 ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XFrame
> xFrame
;
41 SfxViewFrame
* pCurrentViewFrame
;
42 SfxFrameDescriptor
* pDescr
;
45 bool bPrepClosing
: 1;
46 bool bInCancelTransfers
: 1;
47 bool bOwnsBindings
: 1;
48 bool bReleasingComponent
: 1;
51 SfxWorkWindow
* pWorkWin
;
53 // formerly SfxTopFrame
54 VclPtr
<vcl::Window
> pExternalContainerWindow
;
59 explicit SfxFrame_Impl( SfxFrame
* pAntiImplP
)
61 ,pCurrentViewFrame( NULL
)
66 ,bInCancelTransfers( false )
67 ,bOwnsBindings( false )
68 ,bReleasingComponent( false )
72 ,pExternalContainerWindow( NULL
)
79 virtual ~SfxFrame_Impl() { }
84 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */