Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 :
20 : #include <salframe.hxx>
21 : #include <salinst.hxx>
22 : #include <salvd.hxx>
23 : #include <salprn.hxx>
24 : #include <saltimer.hxx>
25 : #include <salimestatus.hxx>
26 : #include <salsys.hxx>
27 : #include <salbmp.hxx>
28 : #include <salobj.hxx>
29 : #include <salmenu.hxx>
30 :
31 : // this file contains the virtual destructors of the sal interface
32 : // compilers ususally put their vtables where the destructor is
33 :
34 0 : SalFrame::~SalFrame()
35 : {
36 0 : }
37 :
38 : // default to full-frame flushes
39 : // on ports where partial-flushes are much cheaper this method should be overridden
40 0 : void SalFrame::Flush( const Rectangle& )
41 : {
42 0 : Flush();
43 0 : }
44 :
45 0 : void SalFrame::SetRepresentedURL( const OUString& )
46 : {
47 : // currently this is Mac only functionality
48 0 : }
49 :
50 1 : SalInstance::~SalInstance()
51 : {
52 1 : }
53 :
54 0 : void SalInstance::FillFontPathList( std::list< OString >& )
55 : {
56 : // do nothing
57 0 : }
58 :
59 0 : SalMenu* SalInstance::CreateMenu( bool, Menu* )
60 : {
61 : // default: no native menus
62 0 : return NULL;
63 : }
64 :
65 0 : void SalInstance::DestroyMenu( SalMenu* pMenu )
66 : {
67 : (void)pMenu;
68 : OSL_ENSURE( pMenu == 0, "DestroyMenu called with non-native menus" );
69 0 : }
70 :
71 0 : SalMenuItem* SalInstance::CreateMenuItem( const SalItemParams* )
72 : {
73 0 : return NULL;
74 : }
75 :
76 0 : void SalInstance::DestroyMenuItem( SalMenuItem* pItem )
77 : {
78 : (void)pItem;
79 : OSL_ENSURE( pItem == 0, "DestroyMenu called with non-native menus" );
80 0 : }
81 :
82 0 : SalTimer::~SalTimer()
83 : {
84 0 : }
85 :
86 0 : SalBitmap::~SalBitmap()
87 : {
88 0 : }
89 :
90 0 : SalI18NImeStatus::~SalI18NImeStatus()
91 : {
92 0 : }
93 :
94 0 : SalSystem::~SalSystem()
95 : {
96 0 : }
97 :
98 0 : SalPrinter::~SalPrinter()
99 : {
100 0 : }
101 :
102 0 : bool SalPrinter::StartJob( const OUString*, const OUString&, const OUString&,
103 : ImplJobSetup*, vcl::PrinterController& )
104 : {
105 0 : return false;
106 : }
107 :
108 0 : SalInfoPrinter::~SalInfoPrinter()
109 : {
110 0 : }
111 :
112 0 : SalVirtualDevice::~SalVirtualDevice()
113 : {
114 0 : }
115 :
116 0 : SalObject::~SalObject()
117 : {
118 0 : }
119 :
120 0 : SalMenu::~SalMenu()
121 : {
122 0 : }
123 :
124 0 : bool SalMenu::ShowNativePopupMenu(FloatingWindow *, const Rectangle&, sal_uLong )
125 : {
126 0 : return false;
127 : }
128 :
129 0 : bool SalMenu::AddMenuBarButton( const SalMenuButtonItem& )
130 : {
131 0 : return false;
132 : }
133 :
134 0 : void SalMenu::RemoveMenuBarButton( sal_uInt16 )
135 : {
136 0 : }
137 :
138 0 : Rectangle SalMenu::GetMenuBarButtonRectPixel( sal_uInt16, SalFrame* )
139 : {
140 0 : return Rectangle();
141 : }
142 :
143 0 : SalMenuItem::~SalMenuItem()
144 : {
145 0 : }
146 :
147 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|