Debian Codegraph @

svl/unx/source/svdde/ddedummy.cxx

raw
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 <svl/svdde.hxx>
21 #include <tools/long.hxx>
22
23 struct Conversation
24 {
25 };
26
27 struct DdeDataImp
28 {
29 };
30
31 DdeData::DdeData()
32 {
33 }
34
35 DdeData::DdeData( SAL_UNUSED_PARAMETER const OUString& )
36 {
37 }
38
39 DdeData::DdeData(const DdeData&)
40 {
41 }
42
43 DdeData::DdeData(DdeData&&) noexcept
44 {
45 }
46
47 DdeData::DdeData( const void*, tools::Long, SotClipboardFormatId)
48 {
49 }
50
51 DdeData::~DdeData()
52 {
53 }
54
55 void DdeData::SetFormat( SAL_UNUSED_PARAMETER SotClipboardFormatId )
56 {
57 }
58
59 SotClipboardFormatId DdeData::GetFormat() const
60 {
61 return SotClipboardFormatId::NONE;
62 }
63
64 DdeData& DdeData::operator=(const DdeData&)
65 {
66 return *this;
67 }
68
69 DdeData& DdeData::operator=(DdeData&&) noexcept
70 {
71 return *this;
72 }
73
74 tools::Long DdeData::getSize() const
75 {
76 return 0;
77 }
78
79 void const * DdeData::getData() const
80 {
81 return nullptr;
82 }
83
84 struct DdeImp {};
85
86 tools::Long DdeConnection::GetError() const
87 {
88 return 0;
89 }
90
91 DdeConnection::DdeConnection( SAL_UNUSED_PARAMETER const OUString&, SAL_UNUSED_PARAMETER const OUString& )
92 : pService(nullptr)
93 , pTopic(nullptr)
94 {
95 }
96
97 DdeConnection::~DdeConnection()
98 {
99 }
100
101 OUString DdeConnection::GetServiceName() const
102 {
103 return OUString();
104 }
105
106 OUString DdeConnection::GetTopicName() const
107 {
108 return OUString();
109 }
110
111 DdeTransaction::DdeTransaction( DdeConnection& rConnection, SAL_UNUSED_PARAMETER const OUString&, tools::Long )
112 : rDde(rConnection)
113 , pName(nullptr)
114 , nType(0)
115 , nId(0)
116 , nTime(0)
117 , bBusy(false)
118 {
119 }
120
121 void DdeTransaction::Execute()
122 {
123 }
124
125 void DdeTransaction::Done( SAL_UNUSED_PARAMETER bool )
126 {
127 }
128
129 void DdeTransaction::Data( SAL_UNUSED_PARAMETER const DdeData* )
130 {
131 }
132
133 DdeTransaction::~DdeTransaction()
134 {
135 }
136
137 DdeRequest::DdeRequest( DdeConnection& rConnection, const OUString& rString, tools::Long lLong )
138 : DdeTransaction( rConnection, rString, lLong )
139 {
140 }
141
142 DdeExecute::DdeExecute( DdeConnection& rConnection, const OUString& rString, tools::Long lLong )
143 : DdeTransaction( rConnection, rString, lLong )
144 {
145 }
146
147 DdePoke::DdePoke( DdeConnection& rConnection, const OUString& rString, const DdeData&, tools::Long lLong )
148 : DdeTransaction( rConnection, rString, lLong )
149 {
150 }
151
152
153 DdeTopic::DdeTopic( SAL_UNUSED_PARAMETER const OUString& )
154 : pName(nullptr)
155 {
156 }
157
158 DdeTopic::~DdeTopic()
159 {
160 }
161
162 void DdeTopic::InsertItem( SAL_UNUSED_PARAMETER DdeItem* )
163 {
164 }
165
166 DdeItem* DdeTopic::AddItem( const DdeItem& rDdeItem )
167 {
168 return const_cast<DdeItem*>(&rDdeItem);
169 }
170
171 void DdeTopic::RemoveItem( SAL_UNUSED_PARAMETER const DdeItem& )
172 {
173 }
174
175 DdeData* DdeTopic::Get(SAL_UNUSED_PARAMETER SotClipboardFormatId)
176 {
177 return nullptr;
178 }
179
180 bool DdeTopic::MakeItem( SAL_UNUSED_PARAMETER const OUString& )
181 {
182 return false;
183 }
184
185 bool DdeTopic::StartAdviseLoop()
186 {
187 return false;
188 }
189
190 bool DdeTopic::Execute( SAL_UNUSED_PARAMETER const OUString* )
191 {
192 return false;
193 }
194
195 bool DdeTopic::Put( SAL_UNUSED_PARAMETER const DdeData* )
196 {
197 return false;
198 }
199
200 OUString DdeTopic::GetName() const
201 {
202 return OUString();
203 }
204
205 DdeService::DdeService( SAL_UNUSED_PARAMETER const OUString& )
206 : pSysTopic(nullptr)
207 , pName(nullptr)
208 , nStatus(0)
209 {
210 }
211
212 OUString DdeService::Topics()
213 {
214 return OUString();
215 }
216
217 OUString DdeService::Formats() {
218 return OUString();
219 }
220
221 OUString DdeService::SysItems()
222 {
223 return OUString();
224 }
225
226 OUString DdeService::Status()
227 {
228 return OUString();
229 }
230
231 DdeService::~DdeService()
232 {
233 }
234
235 void DdeService::AddFormat(SAL_UNUSED_PARAMETER SotClipboardFormatId)
236 {
237 }
238
239 void DdeService::AddTopic( SAL_UNUSED_PARAMETER const DdeTopic& )
240 {
241 }
242
243 void DdeService::RemoveTopic( SAL_UNUSED_PARAMETER const DdeTopic& )
244 {
245 }
246
247 OUString DdeService::GetName() const
248 {
249 return OUString();
250 }
251
252 DdeServices& DdeService::GetServices()
253 {
254 static DdeServices SINGLETON;
255 return SINGLETON;
256 }
257
258 DdeItem::DdeItem( SAL_UNUSED_PARAMETER const OUString& )
259 : pName(nullptr)
260 , pMyTopic(nullptr)
261 , pImpData(nullptr)
262 , nType(0)
263 {
264 }
265
266 DdeItem::DdeItem( const DdeItem& )
267 : pName(nullptr)
268 , pMyTopic(nullptr)
269 , pImpData(nullptr)
270 , nType(0)
271 {
272 }
273
274 DdeItem::~DdeItem()
275 {
276 }
277
278 void DdeItem::NotifyClient()
279 {
280 }
281
282 DdeGetPutItem::DdeGetPutItem( const OUString& rStr )
283 : DdeItem( rStr )
284 {
285 }
286
287 DdeGetPutItem::DdeGetPutItem( const DdeItem& rItem )
288 : DdeItem( rItem )
289 {
290 }
291
292 DdeData* DdeGetPutItem::Get( SAL_UNUSED_PARAMETER SotClipboardFormatId )
293 {
294 return nullptr;
295 }
296
297 bool DdeGetPutItem::Put( SAL_UNUSED_PARAMETER const DdeData* )
298 {
299 return false;
300 }
301
302 void DdeGetPutItem::AdviseLoop( SAL_UNUSED_PARAMETER bool )
303 {
304 }
305
306 DdeLink::DdeLink( DdeConnection& rConnection, const OUString& rString, tools::Long l )
307 : DdeTransaction( rConnection, rString, l )
308 {
309 }
310
311 DdeLink::~DdeLink()
312 {
313 }
314
315 void DdeLink::Notify()
316 {
317 }
318
319 DdeHotLink::DdeHotLink( DdeConnection& rConnection, const OUString& rString )
320 : DdeLink( rConnection, rString, 0 )
321 {
322 }
323
324 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */