update credits
[LibreOffice.git] / svl / unx / source / svdde / ddedummy.cxx
blob70104ef189bc139c44070e5c4617450c75c038aa
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #include <svl/svdde.hxx>
21 #include <rtl/instance.hxx>
23 DdeData::DdeData()
27 DdeData::DdeData( const String& )
31 DdeData::DdeData( const DdeData& )
35 DdeData::DdeData( const void*, long, sal_uLong)
39 DdeData::~DdeData()
43 void DdeData::SetFormat( SAL_UNUSED_PARAMETER sal_uLong )
47 sal_uLong DdeData::GetFormat() const
49 return 0L;
52 DdeData& DdeData::operator = ( const DdeData& )
54 return *this;
57 DdeData::operator long() const
59 return 0L;
62 DdeData::operator const void*() const
64 return NULL;
67 long DdeConnection::GetError()
69 return 0L;
72 DdeConnection::DdeConnection( const String&, const String& )
76 DdeConnection::~DdeConnection()
80 const String& DdeConnection::GetServiceName()
82 return String::EmptyString();
85 const String& DdeConnection::GetTopicName()
87 return String::EmptyString();
90 DdeTransaction::DdeTransaction( DdeConnection& rConnection, const String&, long ) :
91 rDde( rConnection )
95 DdeTransaction::DdeTransaction( const DdeTransaction& rTransaction ) :
96 rDde( rTransaction.rDde )
100 void DdeTransaction::Execute()
104 void DdeTransaction::Done( SAL_UNUSED_PARAMETER sal_Bool )
108 void DdeTransaction::Data( SAL_UNUSED_PARAMETER const DdeData* )
112 DdeTransaction::~DdeTransaction()
116 DdeRequest::DdeRequest( DdeConnection& rConnection, const String& rString, long lLong ) :
117 DdeTransaction( rConnection, rString, lLong )
121 DdeExecute::DdeExecute( DdeConnection& rConnection, const String& rString, long lLong ) :
122 DdeTransaction( rConnection, rString, lLong )
126 DdePoke::DdePoke( DdeConnection& rConnection, const String& rString, const DdeData&, long lLong ) :
127 DdeTransaction( rConnection, rString, lLong )
132 DdeTopic::DdeTopic( const OUString& )
136 DdeTopic::~DdeTopic()
140 void DdeTopic::Connect( SAL_UNUSED_PARAMETER long )
144 void DdeTopic::Disconnect( SAL_UNUSED_PARAMETER long )
148 void DdeTopic::InsertItem( SAL_UNUSED_PARAMETER DdeItem* )
152 DdeItem* DdeTopic::AddItem( const DdeItem& rDdeItem )
154 return (DdeItem*) &rDdeItem;
157 void DdeTopic::RemoveItem( SAL_UNUSED_PARAMETER const DdeItem& )
161 DdeData* DdeTopic::Get( SAL_UNUSED_PARAMETER sal_uLong )
163 return NULL;
166 sal_Bool DdeTopic::MakeItem( SAL_UNUSED_PARAMETER const OUString& )
168 return sal_False;
171 sal_Bool DdeTopic::StartAdviseLoop()
173 return sal_False;
176 sal_Bool DdeTopic::StopAdviseLoop()
178 return sal_False;
181 sal_Bool DdeTopic::Execute( SAL_UNUSED_PARAMETER const String* )
183 return sal_False;
186 sal_Bool DdeTopic::Put( SAL_UNUSED_PARAMETER const DdeData* )
188 return sal_False;
191 const OUString DdeTopic::GetName() const
193 return OUString();
196 DdeService::DdeService( const String& )
198 nStatus = 0;
201 String DdeService::Topics() {
202 return String();
205 String DdeService::Formats() {
206 return String();
209 String DdeService::SysItems() {
210 return String();
213 String DdeService::Status() {
214 return String();
217 String DdeService::SysTopicGet(const String& rString) {
218 return rString;
221 sal_Bool DdeService::SysTopicExecute(SAL_UNUSED_PARAMETER const String*) {
222 return sal_False;
225 DdeService::~DdeService()
229 sal_Bool DdeService::IsBusy()
231 return sal_False;
234 String DdeService::GetHelp()
236 return String::EmptyString();
239 void DdeService::AddFormat( SAL_UNUSED_PARAMETER sal_uLong )
243 void DdeService::AddTopic( SAL_UNUSED_PARAMETER const DdeTopic& )
247 void DdeService::RemoveTopic( SAL_UNUSED_PARAMETER const DdeTopic& )
251 sal_Bool DdeService::MakeTopic( SAL_UNUSED_PARAMETER const OUString& )
253 return sal_False;
256 const OUString DdeService::GetName() const
258 return OUString();
261 namespace
263 struct theDdeServices
264 : public rtl::Static< DdeServices, theDdeServices > {};
267 DdeServices& DdeService::GetServices()
269 return theDdeServices::get();
272 DdeItem::DdeItem( const String& )
276 DdeItem::DdeItem( const DdeItem& )
280 DdeItem::~DdeItem()
284 void DdeItem::NotifyClient()
288 DdeGetPutItem::DdeGetPutItem( const String& rStr ) :
289 DdeItem( rStr )
293 DdeGetPutItem::DdeGetPutItem( const DdeItem& rItem ) :
294 DdeItem( rItem )
298 DdeData* DdeGetPutItem::Get( SAL_UNUSED_PARAMETER sal_uLong )
300 return NULL;
303 sal_Bool DdeGetPutItem::Put( SAL_UNUSED_PARAMETER const DdeData* )
305 return sal_False;
308 void DdeGetPutItem::AdviseLoop( SAL_UNUSED_PARAMETER sal_Bool )
312 DdeLink::DdeLink( DdeConnection& rConnection, const String& rString, long l ) :
313 DdeTransaction( rConnection, rString, l )
317 DdeLink::~DdeLink()
321 void DdeLink::Notify()
325 DdeHotLink::DdeHotLink( DdeConnection& rConnection, const String& rString, long l ) :
326 DdeLink( rConnection, rString, l )
330 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */