xref: /aoo4110/main/sfx2/source/inc/recfloat.hxx (revision b1cdbd2c)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef _RECFLOAT_HXX
25 #define _RECFLOAT_HXX
26 
27 // includes *******************************************************************
28 
29 #include <sfx2/childwin.hxx>
30 #include <sfx2/basedlgs.hxx>
31 
32 class SfxRecordingFloatWrapper_Impl : public SfxChildWindow
33 {
34 	SfxBindings*		pBindings;
35 public:
36                         SfxRecordingFloatWrapper_Impl( Window* pParent ,
37 												sal_uInt16 nId ,
38 												SfxBindings* pBindings ,
39 												SfxChildWinInfo* pInfo );
40                         ~SfxRecordingFloatWrapper_Impl();
41 
42                         SFX_DECL_CHILDWINDOW(SfxRecordingFloatWrapper_Impl);
43 	virtual sal_Bool 	QueryClose();
44 };
45 
46 class SfxRecordingFloat_Impl : public SfxFloatingWindow
47 {
48 	SfxChildWindow*		    pWrapper;
49     ToolBox                 aTbx;
50     ::com::sun::star::uno::Reference< ::com::sun::star::frame::XToolbarController > xStopRecTbxCtrl;
51 public:
52                         SfxRecordingFloat_Impl( SfxBindings* pBindings ,
53 							SfxChildWindow* pChildWin ,
54                             Window* pParent );
55     virtual             ~SfxRecordingFloat_Impl();
56 	virtual sal_Bool        Close();
57     virtual void        FillInfo( SfxChildWinInfo& rInfo ) const;
58 	virtual void		StateChanged( StateChangedType nStateChange );
59 
60     DECL_LINK( Select, ToolBox * );
61 };
62 
63 #endif
64 
65 
66