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 :
21 : #include <salframe.hxx>
22 : #include <salinst.hxx>
23 : #include <salvd.hxx>
24 : #include <salprn.hxx>
25 : #include <saltimer.hxx>
26 : #include <salimestatus.hxx>
27 : #include <salsys.hxx>
28 : #include <salbmp.hxx>
29 : #include <salobj.hxx>
30 : #include <salmenu.hxx>
31 :
32 : // this file contains the virtual destructors of the sal interface
33 : // compilers ususally put their vtables where the destructor is
34 :
35 67 : SalFrame::~SalFrame()
36 : {
37 67 : }
38 :
39 : // -----------------------------------------------------------------------
40 :
41 : // default to full-frame flushes
42 : // on ports where partial-flushes are much cheaper this method should be overridden
43 8531 : void SalFrame::Flush( const Rectangle& )
44 : {
45 8531 : Flush();
46 8531 : }
47 :
48 : // -----------------------------------------------------------------------
49 :
50 259 : void SalFrame::SetRepresentedURL( const rtl::OUString& )
51 : {
52 : // currently this is Mac only functionality
53 259 : }
54 :
55 : // -----------------------------------------------------------------------
56 :
57 0 : SalInstance::~SalInstance()
58 : {
59 0 : }
60 :
61 0 : void SalInstance::FillFontPathList( std::list< rtl::OString >& )
62 : {
63 : // do nothing
64 0 : }
65 :
66 1458 : SalMenu* SalInstance::CreateMenu( sal_Bool, Menu* )
67 : {
68 : // default: no native menus
69 1458 : return NULL;
70 : }
71 :
72 0 : void SalInstance::DestroyMenu( SalMenu* pMenu )
73 : {
74 : (void)pMenu;
75 : OSL_ENSURE( pMenu == 0, "DestroyMenu called with non-native menus" );
76 0 : }
77 :
78 56 : SalMenuItem* SalInstance::CreateMenuItem( const SalItemParams* )
79 : {
80 56 : return NULL;
81 : }
82 :
83 0 : void SalInstance::DestroyMenuItem( SalMenuItem* pItem )
84 : {
85 : (void)pItem;
86 : OSL_ENSURE( pItem == 0, "DestroyMenu called with non-native menus" );
87 0 : }
88 :
89 0 : SalTimer::~SalTimer()
90 : {
91 0 : }
92 :
93 318 : SalBitmap::~SalBitmap()
94 : {
95 318 : }
96 :
97 0 : SalI18NImeStatus::~SalI18NImeStatus()
98 : {
99 0 : }
100 :
101 0 : SalSystem::~SalSystem()
102 : {
103 0 : }
104 :
105 0 : SalPrinter::~SalPrinter()
106 : {
107 0 : }
108 :
109 0 : sal_Bool SalPrinter::StartJob( const rtl::OUString*, const rtl::OUString&, const rtl::OUString&,
110 : ImplJobSetup*, vcl::PrinterController& )
111 : {
112 0 : return sal_False;
113 : }
114 :
115 0 : SalInfoPrinter::~SalInfoPrinter()
116 : {
117 0 : }
118 :
119 5820 : SalVirtualDevice::~SalVirtualDevice()
120 : {
121 5820 : }
122 :
123 0 : SalObject::~SalObject()
124 : {
125 0 : }
126 :
127 0 : SalMenu::~SalMenu()
128 : {
129 0 : }
130 :
131 0 : bool SalMenu::ShowNativePopupMenu(FloatingWindow *, const Rectangle&, sal_uLong )
132 : {
133 0 : return false;
134 : }
135 :
136 0 : bool SalMenu::AddMenuBarButton( const SalMenuButtonItem& )
137 : {
138 0 : return false;
139 : }
140 :
141 0 : void SalMenu::RemoveMenuBarButton( sal_uInt16 )
142 : {
143 0 : }
144 :
145 0 : Rectangle SalMenu::GetMenuBarButtonRectPixel( sal_uInt16, SalFrame* )
146 : {
147 0 : return Rectangle();
148 : }
149 :
150 0 : SalMenuItem::~SalMenuItem()
151 : {
152 0 : }
153 :
154 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|