19f62ea84SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 39f62ea84SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 49f62ea84SAndrew Rist * or more contributor license agreements. See the NOTICE file 59f62ea84SAndrew Rist * distributed with this work for additional information 69f62ea84SAndrew Rist * regarding copyright ownership. The ASF licenses this file 79f62ea84SAndrew Rist * to you under the Apache License, Version 2.0 (the 89f62ea84SAndrew Rist * "License"); you may not use this file except in compliance 99f62ea84SAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 119f62ea84SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 139f62ea84SAndrew Rist * Unless required by applicable law or agreed to in writing, 149f62ea84SAndrew Rist * software distributed under the License is distributed on an 159f62ea84SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 169f62ea84SAndrew Rist * KIND, either express or implied. See the License for the 179f62ea84SAndrew Rist * specific language governing permissions and limitations 189f62ea84SAndrew Rist * under the License. 19cdf0e10cSrcweir * 209f62ea84SAndrew Rist *************************************************************/ 219f62ea84SAndrew Rist 229f62ea84SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove 25cdf0e10cSrcweir #include "precompiled_vcl.hxx" 26cdf0e10cSrcweir 27cdf0e10cSrcweir #include <salframe.hxx> 28cdf0e10cSrcweir #include <salinst.hxx> 29cdf0e10cSrcweir #include <salvd.hxx> 30cdf0e10cSrcweir #include <salprn.hxx> 31cdf0e10cSrcweir #include <saltimer.hxx> 32cdf0e10cSrcweir #include <salimestatus.hxx> 33cdf0e10cSrcweir #include <salsys.hxx> 34cdf0e10cSrcweir #include <salbmp.hxx> 35cdf0e10cSrcweir #include <salobj.hxx> 36cdf0e10cSrcweir #include <salmenu.hxx> 37cdf0e10cSrcweir 38cdf0e10cSrcweir // this file contains the virtual destructors of the sal interface 39*86e1cf34SPedro Giffuni // compilers usually put their vtables where the destructor is 40cdf0e10cSrcweir 41cdf0e10cSrcweir SalFrame::~SalFrame() 42cdf0e10cSrcweir { 43cdf0e10cSrcweir } 44cdf0e10cSrcweir 45cdf0e10cSrcweir // ----------------------------------------------------------------------- 46cdf0e10cSrcweir 47cdf0e10cSrcweir // default to full-frame flushes 48cdf0e10cSrcweir // on ports where partial-flushes are much cheaper this method should be overridden 49cdf0e10cSrcweir void SalFrame::Flush( const Rectangle& ) 50cdf0e10cSrcweir { 51cdf0e10cSrcweir Flush(); 52cdf0e10cSrcweir } 53cdf0e10cSrcweir 54cdf0e10cSrcweir // ----------------------------------------------------------------------- 55cdf0e10cSrcweir 56cdf0e10cSrcweir void SalFrame::SetRepresentedURL( const rtl::OUString& ) 57cdf0e10cSrcweir { 58cdf0e10cSrcweir // currently this is Mac only functionality 59cdf0e10cSrcweir } 60cdf0e10cSrcweir 61cdf0e10cSrcweir // ----------------------------------------------------------------------- 62cdf0e10cSrcweir 63cdf0e10cSrcweir SalInstance::~SalInstance() 64cdf0e10cSrcweir { 65cdf0e10cSrcweir } 66cdf0e10cSrcweir 67cdf0e10cSrcweir void SalInstance::FillFontPathList( std::list< rtl::OString >& ) 68cdf0e10cSrcweir { 69cdf0e10cSrcweir // do nothing 70cdf0e10cSrcweir } 71cdf0e10cSrcweir 72cdf0e10cSrcweir SalMenu* SalInstance::CreateMenu( sal_Bool, Menu* ) 73cdf0e10cSrcweir { 74cdf0e10cSrcweir // default: no native menus 75cdf0e10cSrcweir return NULL; 76cdf0e10cSrcweir } 77cdf0e10cSrcweir 78cdf0e10cSrcweir void SalInstance::DestroyMenu( SalMenu* pMenu ) 79cdf0e10cSrcweir { 80cdf0e10cSrcweir (void)pMenu; 81cdf0e10cSrcweir OSL_ENSURE( pMenu == 0, "DestroyMenu called with non-native menus" ); 82cdf0e10cSrcweir } 83cdf0e10cSrcweir 84cdf0e10cSrcweir SalMenuItem* SalInstance::CreateMenuItem( const SalItemParams* ) 85cdf0e10cSrcweir { 86cdf0e10cSrcweir return NULL; 87cdf0e10cSrcweir } 88cdf0e10cSrcweir 89cdf0e10cSrcweir void SalInstance::DestroyMenuItem( SalMenuItem* pItem ) 90cdf0e10cSrcweir { 91cdf0e10cSrcweir (void)pItem; 92cdf0e10cSrcweir OSL_ENSURE( pItem == 0, "DestroyMenu called with non-native menus" ); 93cdf0e10cSrcweir } 94cdf0e10cSrcweir 95cdf0e10cSrcweir SalTimer::~SalTimer() 96cdf0e10cSrcweir { 97cdf0e10cSrcweir } 98cdf0e10cSrcweir 99cdf0e10cSrcweir SalBitmap::~SalBitmap() 100cdf0e10cSrcweir { 101cdf0e10cSrcweir } 102cdf0e10cSrcweir 103cdf0e10cSrcweir SalI18NImeStatus::~SalI18NImeStatus() 104cdf0e10cSrcweir { 105cdf0e10cSrcweir } 106cdf0e10cSrcweir 107cdf0e10cSrcweir SalSystem::~SalSystem() 108cdf0e10cSrcweir { 109cdf0e10cSrcweir } 110cdf0e10cSrcweir 111cdf0e10cSrcweir SalPrinter::~SalPrinter() 112cdf0e10cSrcweir { 113cdf0e10cSrcweir } 114cdf0e10cSrcweir 115cdf0e10cSrcweir sal_Bool SalPrinter::StartJob( const String*, const String&, const String&, 116cdf0e10cSrcweir ImplJobSetup*, vcl::PrinterController& ) 117cdf0e10cSrcweir { 118cdf0e10cSrcweir return sal_False; 119cdf0e10cSrcweir } 120cdf0e10cSrcweir 121cdf0e10cSrcweir SalInfoPrinter::~SalInfoPrinter() 122cdf0e10cSrcweir { 123cdf0e10cSrcweir } 124cdf0e10cSrcweir 125cdf0e10cSrcweir SalVirtualDevice::~SalVirtualDevice() 126cdf0e10cSrcweir { 127cdf0e10cSrcweir } 128cdf0e10cSrcweir 129cdf0e10cSrcweir SalObject::~SalObject() 130cdf0e10cSrcweir { 131cdf0e10cSrcweir } 132cdf0e10cSrcweir 133cdf0e10cSrcweir SalMenu::~SalMenu() 134cdf0e10cSrcweir { 135cdf0e10cSrcweir } 136cdf0e10cSrcweir 137cdf0e10cSrcweir bool SalMenu::ShowNativePopupMenu(FloatingWindow *, const Rectangle&, sal_uLong ) 138cdf0e10cSrcweir { 139cdf0e10cSrcweir return false; 140cdf0e10cSrcweir } 141cdf0e10cSrcweir 142cdf0e10cSrcweir bool SalMenu::AddMenuBarButton( const SalMenuButtonItem& ) 143cdf0e10cSrcweir { 144cdf0e10cSrcweir return false; 145cdf0e10cSrcweir } 146cdf0e10cSrcweir 147cdf0e10cSrcweir void SalMenu::RemoveMenuBarButton( sal_uInt16 ) 148cdf0e10cSrcweir { 149cdf0e10cSrcweir } 150cdf0e10cSrcweir 151cdf0e10cSrcweir Rectangle SalMenu::GetMenuBarButtonRectPixel( sal_uInt16, SalFrame* ) 152cdf0e10cSrcweir { 153cdf0e10cSrcweir return Rectangle(); 154cdf0e10cSrcweir } 155cdf0e10cSrcweir 156cdf0e10cSrcweir SalMenuItem::~SalMenuItem() 157cdf0e10cSrcweir { 158cdf0e10cSrcweir } 159cdf0e10cSrcweir 160