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 usually put their vtables where the destructor is
33 :
34 12418 : SalFrame::~SalFrame()
35 : {
36 12418 : }
37 :
38 : // default to full-frame flushes
39 : // on ports where partial-flushes are much cheaper this method should be overridden
40 121588 : void SalFrame::Flush( const Rectangle& )
41 : {
42 121588 : Flush();
43 121588 : }
44 :
45 4028 : void SalFrame::SetRepresentedURL( const OUString& )
46 : {
47 : // currently this is Mac only functionality
48 4028 : }
49 :
50 367 : SalInstance::~SalInstance()
51 : {
52 367 : }
53 :
54 0 : void SalInstance::FillFontPathList( std::list< OString >& )
55 : {
56 : // do nothing
57 0 : }
58 :
59 139892 : SalMenu* SalInstance::CreateMenu( bool, Menu* )
60 : {
61 : // default: no native menus
62 139892 : 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 576932 : SalMenuItem* SalInstance::CreateMenuItem( const SalItemParams* )
72 : {
73 576932 : 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 469 : SalTimer::~SalTimer()
83 : {
84 469 : }
85 :
86 654171 : SalBitmap::~SalBitmap()
87 : {
88 654171 : }
89 :
90 297 : SalI18NImeStatus::~SalI18NImeStatus()
91 : {
92 297 : }
93 :
94 140 : SalSystem::~SalSystem()
95 : {
96 140 : }
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 677 : SalInfoPrinter::~SalInfoPrinter()
109 : {
110 677 : }
111 :
112 202325 : SalVirtualDevice::~SalVirtualDevice()
113 : {
114 202325 : }
115 :
116 34 : SalObject::~SalObject()
117 : {
118 34 : }
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 1233 : }
146 :
147 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|