/* -*- 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 #include struct Conversation { }; struct DdeDataImp { }; DdeData::DdeData() { } DdeData::DdeData( const OUString& ) { } DdeData::DdeData(const DdeData&) { } DdeData::DdeData(DdeData&&) noexcept { } DdeData::DdeData( const void*, 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; } long DdeData::getSize() const { return 0L; } void const * DdeData::getData() const { return nullptr; } struct DdeImp {}; long DdeConnection::GetError() const { return 0L; } DdeConnection::DdeConnection( const OUString&, const OUString& ) : pService(nullptr) , pTopic(nullptr) { } DdeConnection::~DdeConnection() { } OUString DdeConnection::GetServiceName() const { return OUString(); } OUString DdeConnection::GetTopicName() const { return OUString(); } DdeTransaction::DdeTransaction( DdeConnection& rConnection, const OUString&, 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, long lLong ) : DdeTransaction( rConnection, rString, lLong ) { } DdeExecute::DdeExecute( DdeConnection& rConnection, const OUString& rString, long lLong ) : DdeTransaction( rConnection, rString, lLong ) { } DdePoke::DdePoke( DdeConnection& rConnection, const OUString& rString, const DdeData&, long lLong ) : DdeTransaction( rConnection, rString, lLong ) { } DdeTopic::DdeTopic( const OUString& ) : pName(nullptr) { } DdeTopic::~DdeTopic() { } void DdeTopic::InsertItem( SAL_UNUSED_PARAMETER DdeItem* ) { } DdeItem* DdeTopic::AddItem( const DdeItem& rDdeItem ) { return const_cast(&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( 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(); } namespace { struct theDdeServices : public rtl::Static< DdeServices, theDdeServices > {}; } DdeServices& DdeService::GetServices() { return theDdeServices::get(); } DdeItem::DdeItem( 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, 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: */