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 #include "precompiled_svtools.hxx" 25 26 #include "dummypanel.hxx" 27 28 //........................................................................ 29 namespace svt 30 { 31 //........................................................................ 32 33 using ::com::sun::star::uno::Reference; 34 using ::com::sun::star::accessibility::XAccessible; 35 36 //==================================================================== 37 //= DummyPanel 38 //==================================================================== 39 //-------------------------------------------------------------------- DummyPanel()40 DummyPanel::DummyPanel() 41 { 42 } 43 44 //-------------------------------------------------------------------- ~DummyPanel()45 DummyPanel::~DummyPanel() 46 { 47 } 48 49 //-------------------------------------------------------------------- IMPLEMENT_IREFERENCE(DummyPanel)50 IMPLEMENT_IREFERENCE( DummyPanel ) 51 52 //-------------------------------------------------------------------- 53 void DummyPanel::Activate( Window& ) 54 { 55 } 56 57 //-------------------------------------------------------------------- Deactivate()58 void DummyPanel::Deactivate() 59 { 60 } 61 62 //-------------------------------------------------------------------- SetSizePixel(const Size &)63 void DummyPanel::SetSizePixel( const Size& ) 64 { 65 } 66 67 //-------------------------------------------------------------------- GetDisplayName() const68 ::rtl::OUString DummyPanel::GetDisplayName() const 69 { 70 return ::rtl::OUString(); 71 } 72 73 //-------------------------------------------------------------------- GetImage() const74 Image DummyPanel::GetImage() const 75 { 76 return Image(); 77 } 78 79 //-------------------------------------------------------------------- GetHelpID() const80 rtl::OString DummyPanel::GetHelpID() const 81 { 82 return rtl::OString(); 83 } 84 85 //-------------------------------------------------------------------- GrabFocus()86 void DummyPanel::GrabFocus() 87 { 88 } 89 90 //-------------------------------------------------------------------- Dispose()91 void DummyPanel::Dispose() 92 { 93 } 94 95 //-------------------------------------------------------------------- CreatePanelAccessible(const Reference<XAccessible> & i_rParentAccessible)96 Reference< XAccessible > DummyPanel::CreatePanelAccessible( const Reference< XAccessible >& i_rParentAccessible ) 97 { 98 (void)i_rParentAccessible; 99 return NULL; 100 } 101 102 //........................................................................ 103 } // namespace svt 104 //........................................................................ 105