146dbaceeSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
346dbaceeSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
446dbaceeSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
546dbaceeSAndrew Rist  * distributed with this work for additional information
646dbaceeSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
746dbaceeSAndrew Rist  * to you under the Apache License, Version 2.0 (the
846dbaceeSAndrew Rist  * "License"); you may not use this file except in compliance
946dbaceeSAndrew Rist  * with the License.  You may obtain a copy of the License at
1046dbaceeSAndrew Rist  *
1146dbaceeSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
1246dbaceeSAndrew Rist  *
1346dbaceeSAndrew Rist  * Unless required by applicable law or agreed to in writing,
1446dbaceeSAndrew Rist  * software distributed under the License is distributed on an
1546dbaceeSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1646dbaceeSAndrew Rist  * KIND, either express or implied.  See the License for the
1746dbaceeSAndrew Rist  * specific language governing permissions and limitations
1846dbaceeSAndrew Rist  * under the License.
1946dbaceeSAndrew Rist  *
2046dbaceeSAndrew Rist  *************************************************************/
2146dbaceeSAndrew Rist 
2246dbaceeSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef BIBTOOLS_HXX
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include <vcl/taskpanelist.hxx>		// includes also vcl/window.hxx
27cdf0e10cSrcweir 
28cdf0e10cSrcweir namespace bib
29cdf0e10cSrcweir {
30cdf0e10cSrcweir 	// source in bibbeam.cxx
31cdf0e10cSrcweir 
32cdf0e10cSrcweir 	void HandleTaskPaneList( Window* pWindow, sal_Bool bAddToList );
33*30acf5e8Spfg 		// pWindow: just an system window or something which is child of a system window
34cdf0e10cSrcweir 
AddToTaskPaneList(Window * pWindowToBeHandled)35cdf0e10cSrcweir 	inline void AddToTaskPaneList( Window* pWindowToBeHandled )
36cdf0e10cSrcweir 	{
37cdf0e10cSrcweir 		HandleTaskPaneList( pWindowToBeHandled, sal_True );
38cdf0e10cSrcweir 	}
39cdf0e10cSrcweir 
RemoveFromTaskPaneList(Window * pWindowToBeHandled)40cdf0e10cSrcweir 	inline void RemoveFromTaskPaneList( Window* pWindowToBeHandled )
41cdf0e10cSrcweir 	{
42cdf0e10cSrcweir 		HandleTaskPaneList( pWindowToBeHandled, sal_False );
43cdf0e10cSrcweir 	}
44cdf0e10cSrcweir }
45cdf0e10cSrcweir 
46cdf0e10cSrcweir #endif
47