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 
25 // MARKER(update_precomp.py): autogen include statement, do not remove
26 #include "precompiled_extensions.hxx"
27 
28 #include "initwindowpeer.hxx"
29 
30 using namespace ::com::sun::star;
31 
32 
getWindowHandle(const uno::Sequence<sal_Int8> & ProcessId,sal_Int16 SystemType)33 uno::Any SAL_CALL InitWindowPeer::getWindowHandle( const uno::Sequence< sal_Int8 >& ProcessId, sal_Int16 SystemType )
34 	throw ( uno::RuntimeException )
35 {
36 	uno::Any aRes;
37 	sal_Int32 nHwnd = (sal_Int32)m_hwnd;
38 	aRes <<= nHwnd;
39 	return aRes;
40 }
41 
42 
getToolkit()43 uno::Reference< awt::XToolkit > SAL_CALL InitWindowPeer::getToolkit()
44 	throw ( uno::RuntimeException )
45 {
46 	return uno::Reference< awt::XToolkit >();
47 }
48 
setPointer(const uno::Reference<awt::XPointer> & Pointer)49 void SAL_CALL InitWindowPeer::setPointer( const uno::Reference< awt::XPointer >& Pointer )
50 	throw ( uno::RuntimeException )
51 {
52 }
53 
setBackground(sal_Int32 Color)54 void SAL_CALL InitWindowPeer::setBackground( sal_Int32 Color )
55 	throw ( uno::RuntimeException )
56 {
57 }
58 
invalidate(sal_Int16 Flags)59 void SAL_CALL InitWindowPeer::invalidate( sal_Int16 Flags )
60 	throw ( uno::RuntimeException )
61 {
62 }
63 
invalidateRect(const awt::Rectangle & Rect,sal_Int16 Flags)64 void SAL_CALL InitWindowPeer::invalidateRect( const awt::Rectangle& Rect, sal_Int16 Flags )
65 	throw ( uno::RuntimeException )
66 {
67 }
68 
dispose()69 void SAL_CALL InitWindowPeer::dispose()
70 	throw ( uno::RuntimeException )
71 {
72 }
73 
addEventListener(const uno::Reference<lang::XEventListener> & xListener)74 void SAL_CALL InitWindowPeer::addEventListener( const uno::Reference< lang::XEventListener >& xListener )
75 	throw ( uno::RuntimeException )
76 {
77 }
78 
removeEventListener(const uno::Reference<lang::XEventListener> & aListener)79 void SAL_CALL InitWindowPeer::removeEventListener( const uno::Reference< lang::XEventListener >& aListener )
80 	throw ( uno::RuntimeException )
81 {
82 }
83 
84