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 // MARKER(update_precomp.py): autogen include statement, do not remove 25 #include "precompiled_vcl.hxx" 26 27 #include <salframe.hxx> 28 #include <salinst.hxx> 29 #include <salvd.hxx> 30 #include <salprn.hxx> 31 #include <saltimer.hxx> 32 #include <salimestatus.hxx> 33 #include <salsys.hxx> 34 #include <salbmp.hxx> 35 #include <salobj.hxx> 36 #include <salmenu.hxx> 37 38 // this file contains the virtual destructors of the sal interface 39 // compilers ususally put their vtables where the destructor is 40 41 SalFrame::~SalFrame() 42 { 43 } 44 45 // ----------------------------------------------------------------------- 46 47 // default to full-frame flushes 48 // on ports where partial-flushes are much cheaper this method should be overridden 49 void SalFrame::Flush( const Rectangle& ) 50 { 51 Flush(); 52 } 53 54 // ----------------------------------------------------------------------- 55 56 void SalFrame::SetRepresentedURL( const rtl::OUString& ) 57 { 58 // currently this is Mac only functionality 59 } 60 61 // ----------------------------------------------------------------------- 62 63 SalInstance::~SalInstance() 64 { 65 } 66 67 void SalInstance::FillFontPathList( std::list< rtl::OString >& ) 68 { 69 // do nothing 70 } 71 72 SalMenu* SalInstance::CreateMenu( sal_Bool, Menu* ) 73 { 74 // default: no native menus 75 return NULL; 76 } 77 78 void SalInstance::DestroyMenu( SalMenu* pMenu ) 79 { 80 (void)pMenu; 81 OSL_ENSURE( pMenu == 0, "DestroyMenu called with non-native menus" ); 82 } 83 84 SalMenuItem* SalInstance::CreateMenuItem( const SalItemParams* ) 85 { 86 return NULL; 87 } 88 89 void SalInstance::DestroyMenuItem( SalMenuItem* pItem ) 90 { 91 (void)pItem; 92 OSL_ENSURE( pItem == 0, "DestroyMenu called with non-native menus" ); 93 } 94 95 SalTimer::~SalTimer() 96 { 97 } 98 99 SalBitmap::~SalBitmap() 100 { 101 } 102 103 SalI18NImeStatus::~SalI18NImeStatus() 104 { 105 } 106 107 SalSystem::~SalSystem() 108 { 109 } 110 111 SalPrinter::~SalPrinter() 112 { 113 } 114 115 sal_Bool SalPrinter::StartJob( const String*, const String&, const String&, 116 ImplJobSetup*, vcl::PrinterController& ) 117 { 118 return sal_False; 119 } 120 121 SalInfoPrinter::~SalInfoPrinter() 122 { 123 } 124 125 SalVirtualDevice::~SalVirtualDevice() 126 { 127 } 128 129 SalObject::~SalObject() 130 { 131 } 132 133 SalMenu::~SalMenu() 134 { 135 } 136 137 bool SalMenu::ShowNativePopupMenu(FloatingWindow *, const Rectangle&, sal_uLong ) 138 { 139 return false; 140 } 141 142 bool SalMenu::AddMenuBarButton( const SalMenuButtonItem& ) 143 { 144 return false; 145 } 146 147 void SalMenu::RemoveMenuBarButton( sal_uInt16 ) 148 { 149 } 150 151 Rectangle SalMenu::GetMenuBarButtonRectPixel( sal_uInt16, SalFrame* ) 152 { 153 return Rectangle(); 154 } 155 156 SalMenuItem::~SalMenuItem() 157 { 158 } 159 160