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