1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ddedummy.cxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_svtools.hxx"
33 #include <svtools/svdde.hxx>
34 #include <rtl/instance.hxx>
40 DdeData::DdeData( const String
& )
44 DdeData::DdeData( const DdeData
& )
48 DdeData::DdeData( const void*, long, ULONG
)
52 DdeData::~DdeData( void )
56 void DdeData::SetFormat( ULONG
)
60 ULONG
DdeData::GetFormat() const
65 DdeData
& DdeData::operator = ( const DdeData
& )
70 DdeData::operator long() const
75 DdeData::operator const void*() const
80 long DdeConnection::GetError()
85 DdeConnection::DdeConnection( const String
&, const String
& )
89 DdeConnection::~DdeConnection( void )
93 const String
& DdeConnection::GetServiceName()
95 return String::EmptyString();
98 const String
& DdeConnection::GetTopicName()
100 return String::EmptyString();
103 DdeTransaction::DdeTransaction( DdeConnection
& rConnection
, const String
&, long ) :
108 DdeTransaction::DdeTransaction( const DdeTransaction
& rTransaction
) :
109 rDde( rTransaction
.rDde
)
113 void DdeTransaction::Execute(void)
117 void DdeTransaction::Done( BOOL
)
121 void DdeTransaction::Data( const DdeData
* )
125 DdeTransaction::~DdeTransaction(void)
129 DdeRequest::DdeRequest(DdeConnection
& rConnection
, const String
& rString
, long lLong
) :
130 DdeTransaction( rConnection
, rString
, lLong
)
134 DdeExecute::DdeExecute( DdeConnection
& rConnection
, const String
& rString
, long lLong
) :
135 DdeTransaction( rConnection
, rString
, lLong
)
139 DdePoke::DdePoke( DdeConnection
& rConnection
, const String
& rString
, const DdeData
&, long lLong
) :
140 DdeTransaction( rConnection
, rString
, lLong
)
145 DdeTopic::DdeTopic( const String
& )
149 DdeTopic::~DdeTopic()
153 void DdeTopic::Connect (long )
157 void DdeTopic::Disconnect( long )
161 void DdeTopic::InsertItem( DdeItem
* )
165 DdeItem
* DdeTopic::AddItem( const DdeItem
& rDdeItem
)
167 return (DdeItem
*) &rDdeItem
;
170 void DdeTopic::RemoveItem( const DdeItem
& )
174 DdeData
* DdeTopic::Get( ULONG
)
179 BOOL
DdeTopic::MakeItem( const String
& )
184 BOOL
DdeTopic::StartAdviseLoop()
189 BOOL
DdeTopic::StopAdviseLoop()
194 BOOL
DdeTopic::Execute( const String
* )
199 BOOL
DdeTopic::Put( const DdeData
* )
204 const String
& DdeTopic::GetName() const
206 return String::EmptyString();
209 DdeService::DdeService( const String
& )
214 String
DdeService::Topics() {
218 String
DdeService::Formats() {
222 String
DdeService::SysItems() {
226 String
DdeService::Status() {
230 String
DdeService::SysTopicGet(const String
& rString
) {
234 BOOL
DdeService::SysTopicExecute(const String
*) {
238 DdeService::~DdeService()
242 BOOL
DdeService::IsBusy()
247 String
DdeService::GetHelp()
249 return String::EmptyString();
252 void DdeService::AddFormat( ULONG
)
256 void DdeService::AddTopic( const DdeTopic
& )
260 void DdeService::RemoveTopic( const DdeTopic
& )
264 BOOL
DdeService::MakeTopic( const String
& )
269 const String
& DdeService::GetName() const
271 return String::EmptyString();
276 struct theDdeServices
277 : public rtl::Static
< DdeServices
, theDdeServices
> {};
280 DdeServices
& DdeService::GetServices()
282 return theDdeServices::get();
285 DdeItem::DdeItem( const String
& )
289 DdeItem::DdeItem( const DdeItem
& )
297 void DdeItem::NotifyClient()
301 DdeGetPutItem::DdeGetPutItem( const String
& rStr
) :
306 DdeGetPutItem::DdeGetPutItem( const DdeItem
& rItem
) :
311 DdeData
* DdeGetPutItem::Get( ULONG
)
316 BOOL
DdeGetPutItem::Put( const DdeData
* )
321 void DdeGetPutItem::AdviseLoop( BOOL
)
325 DdeLink::DdeLink( DdeConnection
& rConnection
, const String
& rString
, long l
) :
326 DdeTransaction( rConnection
, rString
, l
)
334 void DdeLink::Notify()
338 DdeHotLink::DdeHotLink( DdeConnection
& rConnection
, const String
& rString
, long l
) :
339 DdeLink( rConnection
, rString
, l
)