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>
27 DdeData::DdeData( const String
& )
31 DdeData::DdeData( const DdeData
& )
35 DdeData::DdeData( const void*, long, sal_uLong
)
43 void DdeData::SetFormat( SAL_UNUSED_PARAMETER sal_uLong
)
47 sal_uLong
DdeData::GetFormat() const
52 DdeData
& DdeData::operator = ( const DdeData
& )
57 DdeData::operator long() const
62 DdeData::operator const void*() const
67 long DdeConnection::GetError()
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 ) :
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
)
166 sal_Bool
DdeTopic::MakeItem( SAL_UNUSED_PARAMETER
const OUString
& )
171 sal_Bool
DdeTopic::StartAdviseLoop()
176 sal_Bool
DdeTopic::StopAdviseLoop()
181 sal_Bool
DdeTopic::Execute( SAL_UNUSED_PARAMETER
const String
* )
186 sal_Bool
DdeTopic::Put( SAL_UNUSED_PARAMETER
const DdeData
* )
191 const OUString
DdeTopic::GetName() const
196 DdeService::DdeService( const String
& )
201 String
DdeService::Topics() {
205 String
DdeService::Formats() {
209 String
DdeService::SysItems() {
213 String
DdeService::Status() {
217 String
DdeService::SysTopicGet(const String
& rString
) {
221 sal_Bool
DdeService::SysTopicExecute(SAL_UNUSED_PARAMETER
const String
*) {
225 DdeService::~DdeService()
229 sal_Bool
DdeService::IsBusy()
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
& )
256 const OUString
DdeService::GetName() const
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
& )
284 void DdeItem::NotifyClient()
288 DdeGetPutItem::DdeGetPutItem( const String
& rStr
) :
293 DdeGetPutItem::DdeGetPutItem( const DdeItem
& rItem
) :
298 DdeData
* DdeGetPutItem::Get( SAL_UNUSED_PARAMETER sal_uLong
)
303 sal_Bool
DdeGetPutItem::Put( SAL_UNUSED_PARAMETER
const DdeData
* )
308 void DdeGetPutItem::AdviseLoop( SAL_UNUSED_PARAMETER sal_Bool
)
312 DdeLink::DdeLink( DdeConnection
& rConnection
, const String
& rString
, long l
) :
313 DdeTransaction( rConnection
, rString
, l
)
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: */