xref: /AOO41X/main/svl/unx/source/svdde/ddedummy.cxx (revision 05236b1a0a8122ee73deabdbaef6d40a9b9d7792)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 // MARKER(update_precomp.py): autogen include statement, do not remove
25 #include "precompiled_svl.hxx"
26 #include <svl/svdde.hxx>
27 #include <rtl/instance.hxx>
28 
29 DdeData::DdeData()
30 {
31 }
32 
33 DdeData::DdeData( const String& )
34 {
35 }
36 
37 DdeData::DdeData( const DdeData& )
38 {
39 }
40 
41 DdeData::DdeData( const void*, long, sal_uLong)
42 {
43 }
44 
45 DdeData::~DdeData( void )
46 {
47 }
48 
49 void DdeData::SetFormat( sal_uLong )
50 {
51 }
52 
53 sal_uLong DdeData::GetFormat() const
54 {
55   return 0L;
56 }
57 
58 DdeData& DdeData::operator = ( const DdeData& )
59 {
60   return *this;
61 }
62 
63 DdeData::operator long() const
64 {
65   return 0L;
66 }
67 
68 DdeData::operator const void*() const
69 {
70   return NULL;
71 }
72 
73 long DdeConnection::GetError()
74 {
75   return 0L;
76 }
77 
78 DdeConnection::DdeConnection( const String&, const String& )
79 {
80 }
81 
82 DdeConnection::~DdeConnection( void )
83 {
84 }
85 
86 const String& DdeConnection::GetServiceName()
87 {
88   return String::EmptyString();
89 }
90 
91 const String& DdeConnection::GetTopicName()
92 {
93   return String::EmptyString();
94 }
95 
96 DdeTransaction::DdeTransaction( DdeConnection& rConnection, const String&, long ) :
97 	 rDde( rConnection )
98 {
99 }
100 
101 DdeTransaction::DdeTransaction( const DdeTransaction& rTransaction ) :
102 	 rDde( rTransaction.rDde )
103 {
104 }
105 
106 void DdeTransaction::Execute(void)
107 {
108 }
109 
110 void DdeTransaction::Done( sal_Bool )
111 {
112 }
113 
114 void DdeTransaction::Data( const DdeData* )
115 {
116 }
117 
118 DdeTransaction::~DdeTransaction(void)
119 {
120 }
121 
122 DdeRequest::DdeRequest(DdeConnection& rConnection, const String& rString, long lLong ) :
123 	 DdeTransaction( rConnection, rString, lLong )
124 {
125 }
126 
127 DdeExecute::DdeExecute( DdeConnection& rConnection, const String& rString, long lLong ) :
128 	 DdeTransaction( rConnection, rString, lLong )
129 {
130 }
131 
132 DdePoke::DdePoke( DdeConnection& rConnection, const String& rString, const DdeData&, long lLong ) :
133 	 DdeTransaction( rConnection, rString, lLong )
134 {
135 }
136 
137 
138 DdeTopic::DdeTopic( const String& )
139 {
140 }
141 
142 DdeTopic::~DdeTopic()
143 {
144 }
145 
146 void DdeTopic::Connect (long )
147 {
148 }
149 
150 void DdeTopic::Disconnect( long )
151 {
152 }
153 
154 void DdeTopic::InsertItem( DdeItem* )
155 {
156 }
157 
158 DdeItem* DdeTopic::AddItem( const DdeItem& rDdeItem )
159 {
160   return (DdeItem*) &rDdeItem;
161 }
162 
163 void DdeTopic::RemoveItem( const DdeItem& )
164 {
165 }
166 
167 DdeData* DdeTopic::Get( sal_uLong )
168 {
169   return NULL;
170 }
171 
172 sal_Bool DdeTopic::MakeItem( const String& )
173 {
174   return sal_False;
175 }
176 
177 sal_Bool DdeTopic::StartAdviseLoop()
178 {
179   return sal_False;
180 }
181 
182 sal_Bool DdeTopic::StopAdviseLoop()
183 {
184   return sal_False;
185 }
186 
187 sal_Bool DdeTopic::Execute( const String* )
188 {
189   return sal_False;
190 }
191 
192 sal_Bool DdeTopic::Put( const DdeData* )
193 {
194   return sal_False;
195 }
196 
197 const String& DdeTopic::GetName() const
198 {
199   return String::EmptyString();
200 }
201 
202 DdeService::DdeService( const String& )
203 {
204   nStatus = 0;
205 }
206 
207 String DdeService::Topics() {
208 	return String();
209 }
210 
211 String DdeService::Formats() {
212 	return String();
213 }
214 
215 String DdeService::SysItems() {
216 	return String();
217 }
218 
219 String DdeService::Status() {
220 	return String();
221 }
222 
223 String DdeService::SysTopicGet(const String& rString) {
224 	return rString;
225 }
226 
227 sal_Bool DdeService::SysTopicExecute(const String*) {
228 	return sal_False;
229 }
230 
231 DdeService::~DdeService()
232 {
233 }
234 
235 sal_Bool DdeService::IsBusy()
236 {
237   return sal_False;
238 }
239 
240 String DdeService::GetHelp()
241 {
242   return String::EmptyString();
243 }
244 
245 void DdeService::AddFormat( sal_uLong )
246 {
247 }
248 
249 void DdeService::AddTopic( const DdeTopic& )
250 {
251 }
252 
253 void DdeService::RemoveTopic( const DdeTopic& )
254 {
255 }
256 
257 sal_Bool DdeService::MakeTopic( const String& )
258 {
259   return sal_False;
260 }
261 
262 const String& DdeService::GetName() const
263 {
264   return String::EmptyString();
265 }
266 
267 namespace
268 {
269     struct theDdeServices
270         : public rtl::Static< DdeServices, theDdeServices > {};
271 }
272 
273 DdeServices& DdeService::GetServices()
274 {
275   return theDdeServices::get();
276 }
277 
278 DdeItem::DdeItem( const String& )
279 {
280 }
281 
282 DdeItem::DdeItem( const DdeItem& )
283 {
284 }
285 
286 DdeItem::~DdeItem()
287 {
288 }
289 
290 void DdeItem::NotifyClient()
291 {
292 }
293 
294 DdeGetPutItem::DdeGetPutItem( const String& rStr ) :
295 DdeItem( rStr )
296 {
297 }
298 
299 DdeGetPutItem::DdeGetPutItem( const DdeItem& rItem ) :
300 DdeItem( rItem )
301 {
302 }
303 
304 DdeData* DdeGetPutItem::Get( sal_uLong )
305 {
306   return NULL;
307 }
308 
309 sal_Bool DdeGetPutItem::Put( const DdeData* )
310 {
311   return sal_False;
312 }
313 
314 void DdeGetPutItem::AdviseLoop( sal_Bool )
315 {
316 }
317 
318 DdeLink::DdeLink( DdeConnection& rConnection, const String& rString, long l ) :
319 DdeTransaction( rConnection, rString, l )
320 {
321 }
322 
323 DdeLink::~DdeLink()
324 {
325 }
326 
327 void DdeLink::Notify()
328 {
329 }
330 
331 DdeHotLink::DdeHotLink( DdeConnection& rConnection, const String& rString, long l ) :
332 DdeLink( rConnection, rString, l )
333 {
334 }
335