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 <tools/long.hxx>
35 DdeData::DdeData( SAL_UNUSED_PARAMETER
const OUString
& )
39 DdeData::DdeData(const DdeData
&)
43 DdeData::DdeData(DdeData
&&) noexcept
47 DdeData::DdeData( const void*, tools::Long
, SotClipboardFormatId
)
55 void DdeData::SetFormat( SAL_UNUSED_PARAMETER SotClipboardFormatId
)
59 SotClipboardFormatId
DdeData::GetFormat() const
61 return SotClipboardFormatId::NONE
;
64 DdeData
& DdeData::operator=(const DdeData
&)
69 DdeData
& DdeData::operator=(DdeData
&&) noexcept
74 tools::Long
DdeData::getSize() const
79 void const * DdeData::getData() const
86 tools::Long
DdeConnection::GetError() const
91 DdeConnection::DdeConnection( SAL_UNUSED_PARAMETER
const OUString
&, SAL_UNUSED_PARAMETER
const OUString
& )
97 DdeConnection::~DdeConnection()
101 OUString
DdeConnection::GetServiceName() const
106 OUString
DdeConnection::GetTopicName() const
111 DdeTransaction::DdeTransaction( DdeConnection
& rConnection
, SAL_UNUSED_PARAMETER
const OUString
&, tools::Long
)
121 void DdeTransaction::Execute()
125 void DdeTransaction::Done( SAL_UNUSED_PARAMETER
bool )
129 void DdeTransaction::Data( SAL_UNUSED_PARAMETER
const DdeData
* )
133 DdeTransaction::~DdeTransaction()
137 DdeRequest::DdeRequest( DdeConnection
& rConnection
, const OUString
& rString
, tools::Long lLong
)
138 : DdeTransaction( rConnection
, rString
, lLong
)
142 DdeExecute::DdeExecute( DdeConnection
& rConnection
, const OUString
& rString
, tools::Long lLong
)
143 : DdeTransaction( rConnection
, rString
, lLong
)
147 DdePoke::DdePoke( DdeConnection
& rConnection
, const OUString
& rString
, const DdeData
&, tools::Long lLong
)
148 : DdeTransaction( rConnection
, rString
, lLong
)
153 DdeTopic::DdeTopic( SAL_UNUSED_PARAMETER
const OUString
& )
158 DdeTopic::~DdeTopic()
162 void DdeTopic::InsertItem( SAL_UNUSED_PARAMETER DdeItem
* )
166 DdeItem
* DdeTopic::AddItem( const DdeItem
& rDdeItem
)
168 return const_cast<DdeItem
*>(&rDdeItem
);
171 void DdeTopic::RemoveItem( SAL_UNUSED_PARAMETER
const DdeItem
& )
175 DdeData
* DdeTopic::Get(SAL_UNUSED_PARAMETER SotClipboardFormatId
)
180 bool DdeTopic::MakeItem( SAL_UNUSED_PARAMETER
const OUString
& )
185 bool DdeTopic::StartAdviseLoop()
190 bool DdeTopic::Execute( SAL_UNUSED_PARAMETER
const OUString
* )
195 bool DdeTopic::Put( SAL_UNUSED_PARAMETER
const DdeData
* )
200 OUString
DdeTopic::GetName() const
205 DdeService::DdeService( SAL_UNUSED_PARAMETER
const OUString
& )
212 OUString
DdeService::Topics()
217 OUString
DdeService::Formats() {
221 OUString
DdeService::SysItems()
226 OUString
DdeService::Status()
231 DdeService::~DdeService()
235 void DdeService::AddFormat(SAL_UNUSED_PARAMETER SotClipboardFormatId
)
239 void DdeService::AddTopic( SAL_UNUSED_PARAMETER
const DdeTopic
& )
243 void DdeService::RemoveTopic( SAL_UNUSED_PARAMETER
const DdeTopic
& )
247 OUString
DdeService::GetName() const
252 DdeServices
& DdeService::GetServices()
254 static DdeServices SINGLETON
;
258 DdeItem::DdeItem( SAL_UNUSED_PARAMETER
const OUString
& )
266 DdeItem::DdeItem( const DdeItem
& )
278 void DdeItem::NotifyClient()
282 DdeGetPutItem::DdeGetPutItem( const OUString
& rStr
)
287 DdeGetPutItem::DdeGetPutItem( const DdeItem
& rItem
)
292 DdeData
* DdeGetPutItem::Get( SAL_UNUSED_PARAMETER SotClipboardFormatId
)
297 bool DdeGetPutItem::Put( SAL_UNUSED_PARAMETER
const DdeData
* )
302 void DdeGetPutItem::AdviseLoop( SAL_UNUSED_PARAMETER
bool )
306 DdeLink::DdeLink( DdeConnection
& rConnection
, const OUString
& rString
, tools::Long l
)
307 : DdeTransaction( rConnection
, rString
, l
)
315 void DdeLink::Notify()
319 DdeHotLink::DdeHotLink( DdeConnection
& rConnection
, const OUString
& rString
)
320 : DdeLink( rConnection
, rString
, 0 )
324 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */