diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /svl/unx | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream.tar.xz libreoffice-upstream.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | svl/unx/source/svdde/ddedummy.cxx | 324 |
1 files changed, 324 insertions, 0 deletions
diff --git a/svl/unx/source/svdde/ddedummy.cxx b/svl/unx/source/svdde/ddedummy.cxx new file mode 100644 index 000000000..e174e0bc4 --- /dev/null +++ b/svl/unx/source/svdde/ddedummy.cxx @@ -0,0 +1,324 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#include <svl/svdde.hxx> +#include <tools/long.hxx> + +struct Conversation +{ +}; + +struct DdeDataImp +{ +}; + +DdeData::DdeData() +{ +} + +DdeData::DdeData( SAL_UNUSED_PARAMETER const OUString& ) +{ +} + +DdeData::DdeData(const DdeData&) +{ +} + +DdeData::DdeData(DdeData&&) noexcept +{ +} + +DdeData::DdeData( const void*, tools::Long, SotClipboardFormatId) +{ +} + +DdeData::~DdeData() +{ +} + +void DdeData::SetFormat( SAL_UNUSED_PARAMETER SotClipboardFormatId ) +{ +} + +SotClipboardFormatId DdeData::GetFormat() const +{ + return SotClipboardFormatId::NONE; +} + +DdeData& DdeData::operator=(const DdeData&) +{ + return *this; +} + +DdeData& DdeData::operator=(DdeData&&) noexcept +{ + return *this; +} + +tools::Long DdeData::getSize() const +{ + return 0; +} + +void const * DdeData::getData() const +{ + return nullptr; +} + +struct DdeImp {}; + +tools::Long DdeConnection::GetError() const +{ + return 0; +} + +DdeConnection::DdeConnection( SAL_UNUSED_PARAMETER const OUString&, SAL_UNUSED_PARAMETER const OUString& ) + : pService(nullptr) + , pTopic(nullptr) +{ +} + +DdeConnection::~DdeConnection() +{ +} + +OUString DdeConnection::GetServiceName() const +{ + return OUString(); +} + +OUString DdeConnection::GetTopicName() const +{ + return OUString(); +} + +DdeTransaction::DdeTransaction( DdeConnection& rConnection, SAL_UNUSED_PARAMETER const OUString&, tools::Long ) + : rDde(rConnection) + , pName(nullptr) + , nType(0) + , nId(0) + , nTime(0) + , bBusy(false) +{ +} + +void DdeTransaction::Execute() +{ +} + +void DdeTransaction::Done( SAL_UNUSED_PARAMETER bool ) +{ +} + +void DdeTransaction::Data( SAL_UNUSED_PARAMETER const DdeData* ) +{ +} + +DdeTransaction::~DdeTransaction() +{ +} + +DdeRequest::DdeRequest( DdeConnection& rConnection, const OUString& rString, tools::Long lLong ) + : DdeTransaction( rConnection, rString, lLong ) +{ +} + +DdeExecute::DdeExecute( DdeConnection& rConnection, const OUString& rString, tools::Long lLong ) + : DdeTransaction( rConnection, rString, lLong ) +{ +} + +DdePoke::DdePoke( DdeConnection& rConnection, const OUString& rString, const DdeData&, tools::Long lLong ) + : DdeTransaction( rConnection, rString, lLong ) +{ +} + + +DdeTopic::DdeTopic( SAL_UNUSED_PARAMETER const OUString& ) + : pName(nullptr) +{ +} + +DdeTopic::~DdeTopic() +{ +} + +void DdeTopic::InsertItem( SAL_UNUSED_PARAMETER DdeItem* ) +{ +} + +DdeItem* DdeTopic::AddItem( const DdeItem& rDdeItem ) +{ + return const_cast<DdeItem*>(&rDdeItem); +} + +void DdeTopic::RemoveItem( SAL_UNUSED_PARAMETER const DdeItem& ) +{ +} + +DdeData* DdeTopic::Get(SAL_UNUSED_PARAMETER SotClipboardFormatId) +{ + return nullptr; +} + +bool DdeTopic::MakeItem( SAL_UNUSED_PARAMETER const OUString& ) +{ + return false; +} + +bool DdeTopic::StartAdviseLoop() +{ + return false; +} + +bool DdeTopic::Execute( SAL_UNUSED_PARAMETER const OUString* ) +{ + return false; +} + +bool DdeTopic::Put( SAL_UNUSED_PARAMETER const DdeData* ) +{ + return false; +} + +OUString DdeTopic::GetName() const +{ + return OUString(); +} + +DdeService::DdeService( SAL_UNUSED_PARAMETER const OUString& ) + : pSysTopic(nullptr) + , pName(nullptr) + , nStatus(0) +{ +} + +OUString DdeService::Topics() +{ + return OUString(); +} + +OUString DdeService::Formats() { + return OUString(); +} + +OUString DdeService::SysItems() +{ + return OUString(); +} + +OUString DdeService::Status() +{ + return OUString(); +} + +DdeService::~DdeService() +{ +} + +void DdeService::AddFormat(SAL_UNUSED_PARAMETER SotClipboardFormatId) +{ +} + +void DdeService::AddTopic( SAL_UNUSED_PARAMETER const DdeTopic& ) +{ +} + +void DdeService::RemoveTopic( SAL_UNUSED_PARAMETER const DdeTopic& ) +{ +} + +OUString DdeService::GetName() const +{ + return OUString(); +} + +DdeServices& DdeService::GetServices() +{ + static DdeServices SINGLETON; + return SINGLETON; +} + +DdeItem::DdeItem( SAL_UNUSED_PARAMETER const OUString& ) + : pName(nullptr) + , pMyTopic(nullptr) + , pImpData(nullptr) + , nType(0) +{ +} + +DdeItem::DdeItem( const DdeItem& ) + : pName(nullptr) + , pMyTopic(nullptr) + , pImpData(nullptr) + , nType(0) +{ +} + +DdeItem::~DdeItem() +{ +} + +void DdeItem::NotifyClient() +{ +} + +DdeGetPutItem::DdeGetPutItem( const OUString& rStr ) + : DdeItem( rStr ) +{ +} + +DdeGetPutItem::DdeGetPutItem( const DdeItem& rItem ) + : DdeItem( rItem ) +{ +} + +DdeData* DdeGetPutItem::Get( SAL_UNUSED_PARAMETER SotClipboardFormatId ) +{ + return nullptr; +} + +bool DdeGetPutItem::Put( SAL_UNUSED_PARAMETER const DdeData* ) +{ + return false; +} + +void DdeGetPutItem::AdviseLoop( SAL_UNUSED_PARAMETER bool ) +{ +} + +DdeLink::DdeLink( DdeConnection& rConnection, const OUString& rString, tools::Long l ) + : DdeTransaction( rConnection, rString, l ) +{ +} + +DdeLink::~DdeLink() +{ +} + +void DdeLink::Notify() +{ +} + +DdeHotLink::DdeHotLink( DdeConnection& rConnection, const OUString& rString ) + : DdeLink( rConnection, rString, 0 ) +{ +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |