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