xref: /aoo41x/main/vcl/source/app/salvtables.cxx (revision cdf0e10c)
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 // MARKER(update_precomp.py): autogen include statement, do not remove
29 #include "precompiled_vcl.hxx"
30 
31 #include <salframe.hxx>
32 #include <salinst.hxx>
33 #include <salvd.hxx>
34 #include <salprn.hxx>
35 #include <saltimer.hxx>
36 #include <salimestatus.hxx>
37 #include <salsys.hxx>
38 #include <salbmp.hxx>
39 #include <salobj.hxx>
40 #include <salmenu.hxx>
41 
42 // this file contains the virtual destructors of the sal interface
43 // compilers ususally put their vtables where the destructor is
44 
45 SalFrame::~SalFrame()
46 {
47 }
48 
49 // -----------------------------------------------------------------------
50 
51 // default to full-frame flushes
52 // on ports where partial-flushes are much cheaper this method should be overridden
53 void SalFrame::Flush( const Rectangle& )
54 {
55     Flush();
56 }
57 
58 // -----------------------------------------------------------------------
59 
60 void SalFrame::SetRepresentedURL( const rtl::OUString& )
61 {
62     // currently this is Mac only functionality
63 }
64 
65 // -----------------------------------------------------------------------
66 
67 SalInstance::~SalInstance()
68 {
69 }
70 
71 void SalInstance::FillFontPathList( std::list< rtl::OString >& )
72 {
73     // do nothing
74 }
75 
76 SalMenu* SalInstance::CreateMenu( sal_Bool, Menu* )
77 {
78     // default: no native menus
79     return NULL;
80 }
81 
82 void SalInstance::DestroyMenu( SalMenu* pMenu )
83 {
84     (void)pMenu;
85     OSL_ENSURE( pMenu == 0, "DestroyMenu called with non-native menus" );
86 }
87 
88 SalMenuItem* SalInstance::CreateMenuItem( const SalItemParams* )
89 {
90     return NULL;
91 }
92 
93 void SalInstance::DestroyMenuItem( SalMenuItem* pItem )
94 {
95     (void)pItem;
96     OSL_ENSURE( pItem == 0, "DestroyMenu called with non-native menus" );
97 }
98 
99 SalTimer::~SalTimer()
100 {
101 }
102 
103 SalBitmap::~SalBitmap()
104 {
105 }
106 
107 SalI18NImeStatus::~SalI18NImeStatus()
108 {
109 }
110 
111 SalSystem::~SalSystem()
112 {
113 }
114 
115 SalPrinter::~SalPrinter()
116 {
117 }
118 
119 sal_Bool SalPrinter::StartJob( const String*, const String&, const String&,
120                            ImplJobSetup*, vcl::PrinterController& )
121 {
122     return sal_False;
123 }
124 
125 SalInfoPrinter::~SalInfoPrinter()
126 {
127 }
128 
129 SalVirtualDevice::~SalVirtualDevice()
130 {
131 }
132 
133 SalObject::~SalObject()
134 {
135 }
136 
137 SalMenu::~SalMenu()
138 {
139 }
140 
141 bool SalMenu::ShowNativePopupMenu(FloatingWindow *, const Rectangle&, sal_uLong )
142 {
143     return false;
144 }
145 
146 bool SalMenu::AddMenuBarButton( const SalMenuButtonItem& )
147 {
148     return false;
149 }
150 
151 void SalMenu::RemoveMenuBarButton( sal_uInt16 )
152 {
153 }
154 
155 Rectangle SalMenu::GetMenuBarButtonRectPixel( sal_uInt16, SalFrame* )
156 {
157     return Rectangle();
158 }
159 
160 SalMenuItem::~SalMenuItem()
161 {
162 }
163 
164