1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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>
28 DdeData::DdeData( const OUString
& )
33 DdeData::DdeData( const DdeData
& )
38 DdeData::DdeData( const void*, long, SotClipboardFormatId
)
47 void DdeData::SetFormat( SAL_UNUSED_PARAMETER SotClipboardFormatId
)
51 SotClipboardFormatId
DdeData::GetFormat() const
53 return SotClipboardFormatId::NONE
;
56 DdeData
& DdeData::operator = ( const DdeData
& )
61 DdeData::operator long() const
66 DdeData::operator const void*() const
71 long DdeConnection::GetError()
76 DdeConnection::DdeConnection( const OUString
&, const OUString
& )
83 DdeConnection::~DdeConnection()
87 const OUString
DdeConnection::GetServiceName()
92 const OUString
DdeConnection::GetTopicName()
97 DdeTransaction::DdeTransaction( DdeConnection
& rConnection
, const OUString
&, long )
107 void DdeTransaction::Execute()
111 void DdeTransaction::Done( SAL_UNUSED_PARAMETER
bool )
115 void DdeTransaction::Data( SAL_UNUSED_PARAMETER
const DdeData
* )
119 DdeTransaction::~DdeTransaction()
123 DdeRequest::DdeRequest( DdeConnection
& rConnection
, const OUString
& rString
, long lLong
)
124 : DdeTransaction( rConnection
, rString
, lLong
)
128 DdeExecute::DdeExecute( DdeConnection
& rConnection
, const OUString
& rString
, long lLong
)
129 : DdeTransaction( rConnection
, rString
, lLong
)
133 DdePoke::DdePoke( DdeConnection
& rConnection
, const OUString
& rString
, const DdeData
&, long lLong
)
134 : DdeTransaction( rConnection
, rString
, lLong
)
139 DdeTopic::DdeTopic( const OUString
& )
144 DdeTopic::~DdeTopic()
148 void DdeTopic::Connect( SAL_UNUSED_PARAMETER
long )
152 void DdeTopic::Disconnect( SAL_UNUSED_PARAMETER
long )
156 void DdeTopic::InsertItem( SAL_UNUSED_PARAMETER DdeItem
* )
160 DdeItem
* DdeTopic::AddItem( const DdeItem
& rDdeItem
)
162 return const_cast<DdeItem
*>(&rDdeItem
);
165 void DdeTopic::RemoveItem( SAL_UNUSED_PARAMETER
const DdeItem
& )
169 DdeData
* DdeTopic::Get(SAL_UNUSED_PARAMETER SotClipboardFormatId
)
174 bool DdeTopic::MakeItem( SAL_UNUSED_PARAMETER
const OUString
& )
179 bool DdeTopic::StartAdviseLoop()
184 bool DdeTopic::StopAdviseLoop()
189 bool DdeTopic::Execute( SAL_UNUSED_PARAMETER
const OUString
* )
194 bool DdeTopic::Put( SAL_UNUSED_PARAMETER
const DdeData
* )
199 const OUString
DdeTopic::GetName() const
204 DdeService::DdeService( const OUString
& )
212 OUString
DdeService::Topics()
217 OUString
DdeService::Formats() {
221 OUString
DdeService::SysItems()
226 OUString
DdeService::Status()
231 OUString
DdeService::SysTopicGet(const OUString
& rString
)
236 bool DdeService::SysTopicExecute(SAL_UNUSED_PARAMETER
const OUString
*)
241 DdeService::~DdeService()
245 bool DdeService::IsBusy()
250 OUString
DdeService::GetHelp()
255 void DdeService::AddFormat(SAL_UNUSED_PARAMETER SotClipboardFormatId
)
259 void DdeService::AddTopic( SAL_UNUSED_PARAMETER
const DdeTopic
& )
263 void DdeService::RemoveTopic( SAL_UNUSED_PARAMETER
const DdeTopic
& )
267 bool DdeService::MakeTopic( SAL_UNUSED_PARAMETER
const OUString
& )
272 const OUString
DdeService::GetName() const
279 struct theDdeServices
280 : public rtl::Static
< DdeServices
, theDdeServices
> {};
283 DdeServices
& DdeService::GetServices()
285 return theDdeServices::get();
288 DdeItem::DdeItem( const OUString
& )
296 DdeItem::DdeItem( const DdeItem
& )
308 void DdeItem::NotifyClient()
312 DdeGetPutItem::DdeGetPutItem( const OUString
& rStr
)
317 DdeGetPutItem::DdeGetPutItem( const DdeItem
& rItem
)
322 DdeData
* DdeGetPutItem::Get( SAL_UNUSED_PARAMETER SotClipboardFormatId
)
327 bool DdeGetPutItem::Put( SAL_UNUSED_PARAMETER
const DdeData
* )
332 void DdeGetPutItem::AdviseLoop( SAL_UNUSED_PARAMETER
bool )
336 DdeLink::DdeLink( DdeConnection
& rConnection
, const OUString
& rString
, long l
)
337 : DdeTransaction( rConnection
, rString
, l
)
345 void DdeLink::Notify()
349 DdeHotLink::DdeHotLink( DdeConnection
& rConnection
, const OUString
& rString
, long l
)
350 : DdeLink( rConnection
, rString
, l
)
354 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */