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