xref: /aoo41x/main/vcl/source/app/salvtables.cxx (revision 9f62ea84)
1*9f62ea84SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*9f62ea84SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*9f62ea84SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*9f62ea84SAndrew Rist  * distributed with this work for additional information
6*9f62ea84SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*9f62ea84SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*9f62ea84SAndrew Rist  * "License"); you may not use this file except in compliance
9*9f62ea84SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*9f62ea84SAndrew Rist  *
11*9f62ea84SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*9f62ea84SAndrew Rist  *
13*9f62ea84SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*9f62ea84SAndrew Rist  * software distributed under the License is distributed on an
15*9f62ea84SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*9f62ea84SAndrew Rist  * KIND, either express or implied.  See the License for the
17*9f62ea84SAndrew Rist  * specific language governing permissions and limitations
18*9f62ea84SAndrew Rist  * under the License.
19*9f62ea84SAndrew Rist  *
20*9f62ea84SAndrew Rist  *************************************************************/
21*9f62ea84SAndrew Rist 
22*9f62ea84SAndrew 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
39cdf0e10cSrcweir // compilers ususally put their vtables where the destructor is
40cdf0e10cSrcweir 
~SalFrame()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
Flush(const Rectangle &)49cdf0e10cSrcweir void SalFrame::Flush( const Rectangle& )
50cdf0e10cSrcweir {
51cdf0e10cSrcweir     Flush();
52cdf0e10cSrcweir }
53cdf0e10cSrcweir 
54cdf0e10cSrcweir // -----------------------------------------------------------------------
55cdf0e10cSrcweir 
SetRepresentedURL(const rtl::OUString &)56cdf0e10cSrcweir void SalFrame::SetRepresentedURL( const rtl::OUString& )
57cdf0e10cSrcweir {
58cdf0e10cSrcweir     // currently this is Mac only functionality
59cdf0e10cSrcweir }
60cdf0e10cSrcweir 
61cdf0e10cSrcweir // -----------------------------------------------------------------------
62cdf0e10cSrcweir 
~SalInstance()63cdf0e10cSrcweir SalInstance::~SalInstance()
64cdf0e10cSrcweir {
65cdf0e10cSrcweir }
66cdf0e10cSrcweir 
FillFontPathList(std::list<rtl::OString> &)67cdf0e10cSrcweir void SalInstance::FillFontPathList( std::list< rtl::OString >& )
68cdf0e10cSrcweir {
69cdf0e10cSrcweir     // do nothing
70cdf0e10cSrcweir }
71cdf0e10cSrcweir 
CreateMenu(sal_Bool,Menu *)72cdf0e10cSrcweir SalMenu* SalInstance::CreateMenu( sal_Bool, Menu* )
73cdf0e10cSrcweir {
74cdf0e10cSrcweir     // default: no native menus
75cdf0e10cSrcweir     return NULL;
76cdf0e10cSrcweir }
77cdf0e10cSrcweir 
DestroyMenu(SalMenu * pMenu)78cdf0e10cSrcweir void SalInstance::DestroyMenu( SalMenu* pMenu )
79cdf0e10cSrcweir {
80cdf0e10cSrcweir     (void)pMenu;
81cdf0e10cSrcweir     OSL_ENSURE( pMenu == 0, "DestroyMenu called with non-native menus" );
82cdf0e10cSrcweir }
83cdf0e10cSrcweir 
CreateMenuItem(const SalItemParams *)84cdf0e10cSrcweir SalMenuItem* SalInstance::CreateMenuItem( const SalItemParams* )
85cdf0e10cSrcweir {
86cdf0e10cSrcweir     return NULL;
87cdf0e10cSrcweir }
88cdf0e10cSrcweir 
DestroyMenuItem(SalMenuItem * pItem)89cdf0e10cSrcweir void SalInstance::DestroyMenuItem( SalMenuItem* pItem )
90cdf0e10cSrcweir {
91cdf0e10cSrcweir     (void)pItem;
92cdf0e10cSrcweir     OSL_ENSURE( pItem == 0, "DestroyMenu called with non-native menus" );
93cdf0e10cSrcweir }
94cdf0e10cSrcweir 
~SalTimer()95cdf0e10cSrcweir SalTimer::~SalTimer()
96cdf0e10cSrcweir {
97cdf0e10cSrcweir }
98cdf0e10cSrcweir 
~SalBitmap()99cdf0e10cSrcweir SalBitmap::~SalBitmap()
100cdf0e10cSrcweir {
101cdf0e10cSrcweir }
102cdf0e10cSrcweir 
~SalI18NImeStatus()103cdf0e10cSrcweir SalI18NImeStatus::~SalI18NImeStatus()
104cdf0e10cSrcweir {
105cdf0e10cSrcweir }
106cdf0e10cSrcweir 
~SalSystem()107cdf0e10cSrcweir SalSystem::~SalSystem()
108cdf0e10cSrcweir {
109cdf0e10cSrcweir }
110cdf0e10cSrcweir 
~SalPrinter()111cdf0e10cSrcweir SalPrinter::~SalPrinter()
112cdf0e10cSrcweir {
113cdf0e10cSrcweir }
114cdf0e10cSrcweir 
StartJob(const String *,const String &,const String &,ImplJobSetup *,vcl::PrinterController &)115cdf0e10cSrcweir sal_Bool SalPrinter::StartJob( const String*, const String&, const String&,
116cdf0e10cSrcweir                            ImplJobSetup*, vcl::PrinterController& )
117cdf0e10cSrcweir {
118cdf0e10cSrcweir     return sal_False;
119cdf0e10cSrcweir }
120cdf0e10cSrcweir 
~SalInfoPrinter()121cdf0e10cSrcweir SalInfoPrinter::~SalInfoPrinter()
122cdf0e10cSrcweir {
123cdf0e10cSrcweir }
124cdf0e10cSrcweir 
~SalVirtualDevice()125cdf0e10cSrcweir SalVirtualDevice::~SalVirtualDevice()
126cdf0e10cSrcweir {
127cdf0e10cSrcweir }
128cdf0e10cSrcweir 
~SalObject()129cdf0e10cSrcweir SalObject::~SalObject()
130cdf0e10cSrcweir {
131cdf0e10cSrcweir }
132cdf0e10cSrcweir 
~SalMenu()133cdf0e10cSrcweir SalMenu::~SalMenu()
134cdf0e10cSrcweir {
135cdf0e10cSrcweir }
136cdf0e10cSrcweir 
ShowNativePopupMenu(FloatingWindow *,const Rectangle &,sal_uLong)137cdf0e10cSrcweir bool SalMenu::ShowNativePopupMenu(FloatingWindow *, const Rectangle&, sal_uLong )
138cdf0e10cSrcweir {
139cdf0e10cSrcweir     return false;
140cdf0e10cSrcweir }
141cdf0e10cSrcweir 
AddMenuBarButton(const SalMenuButtonItem &)142cdf0e10cSrcweir bool SalMenu::AddMenuBarButton( const SalMenuButtonItem& )
143cdf0e10cSrcweir {
144cdf0e10cSrcweir     return false;
145cdf0e10cSrcweir }
146cdf0e10cSrcweir 
RemoveMenuBarButton(sal_uInt16)147cdf0e10cSrcweir void SalMenu::RemoveMenuBarButton( sal_uInt16 )
148cdf0e10cSrcweir {
149cdf0e10cSrcweir }
150cdf0e10cSrcweir 
GetMenuBarButtonRectPixel(sal_uInt16,SalFrame *)151cdf0e10cSrcweir Rectangle SalMenu::GetMenuBarButtonRectPixel( sal_uInt16, SalFrame* )
152cdf0e10cSrcweir {
153cdf0e10cSrcweir     return Rectangle();
154cdf0e10cSrcweir }
155cdf0e10cSrcweir 
~SalMenuItem()156cdf0e10cSrcweir SalMenuItem::~SalMenuItem()
157cdf0e10cSrcweir {
158cdf0e10cSrcweir }
159cdf0e10cSrcweir 
160