1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28 // MARKER(update_precomp.py): autogen include statement, do not remove 29 #include "precompiled_svl.hxx" 30 #include <svl/svdde.hxx> 31 #include <rtl/instance.hxx> 32 33 DdeData::DdeData() 34 { 35 } 36 37 DdeData::DdeData( const String& ) 38 { 39 } 40 41 DdeData::DdeData( const DdeData& ) 42 { 43 } 44 45 DdeData::DdeData( const void*, long, sal_uLong) 46 { 47 } 48 49 DdeData::~DdeData( void ) 50 { 51 } 52 53 void DdeData::SetFormat( sal_uLong ) 54 { 55 } 56 57 sal_uLong DdeData::GetFormat() const 58 { 59 return 0L; 60 } 61 62 DdeData& DdeData::operator = ( const DdeData& ) 63 { 64 return *this; 65 } 66 67 DdeData::operator long() const 68 { 69 return 0L; 70 } 71 72 DdeData::operator const void*() const 73 { 74 return NULL; 75 } 76 77 long DdeConnection::GetError() 78 { 79 return 0L; 80 } 81 82 DdeConnection::DdeConnection( const String&, const String& ) 83 { 84 } 85 86 DdeConnection::~DdeConnection( void ) 87 { 88 } 89 90 const String& DdeConnection::GetServiceName() 91 { 92 return String::EmptyString(); 93 } 94 95 const String& DdeConnection::GetTopicName() 96 { 97 return String::EmptyString(); 98 } 99 100 DdeTransaction::DdeTransaction( DdeConnection& rConnection, const String&, long ) : 101 rDde( rConnection ) 102 { 103 } 104 105 DdeTransaction::DdeTransaction( const DdeTransaction& rTransaction ) : 106 rDde( rTransaction.rDde ) 107 { 108 } 109 110 void DdeTransaction::Execute(void) 111 { 112 } 113 114 void DdeTransaction::Done( sal_Bool ) 115 { 116 } 117 118 void DdeTransaction::Data( const DdeData* ) 119 { 120 } 121 122 DdeTransaction::~DdeTransaction(void) 123 { 124 } 125 126 DdeRequest::DdeRequest(DdeConnection& rConnection, const String& rString, long lLong ) : 127 DdeTransaction( rConnection, rString, lLong ) 128 { 129 } 130 131 DdeExecute::DdeExecute( DdeConnection& rConnection, const String& rString, long lLong ) : 132 DdeTransaction( rConnection, rString, lLong ) 133 { 134 } 135 136 DdePoke::DdePoke( DdeConnection& rConnection, const String& rString, const DdeData&, long lLong ) : 137 DdeTransaction( rConnection, rString, lLong ) 138 { 139 } 140 141 142 DdeTopic::DdeTopic( const String& ) 143 { 144 } 145 146 DdeTopic::~DdeTopic() 147 { 148 } 149 150 void DdeTopic::Connect (long ) 151 { 152 } 153 154 void DdeTopic::Disconnect( long ) 155 { 156 } 157 158 void DdeTopic::InsertItem( DdeItem* ) 159 { 160 } 161 162 DdeItem* DdeTopic::AddItem( const DdeItem& rDdeItem ) 163 { 164 return (DdeItem*) &rDdeItem; 165 } 166 167 void DdeTopic::RemoveItem( const DdeItem& ) 168 { 169 } 170 171 DdeData* DdeTopic::Get( sal_uLong ) 172 { 173 return NULL; 174 } 175 176 sal_Bool DdeTopic::MakeItem( const String& ) 177 { 178 return sal_False; 179 } 180 181 sal_Bool DdeTopic::StartAdviseLoop() 182 { 183 return sal_False; 184 } 185 186 sal_Bool DdeTopic::StopAdviseLoop() 187 { 188 return sal_False; 189 } 190 191 sal_Bool DdeTopic::Execute( const String* ) 192 { 193 return sal_False; 194 } 195 196 sal_Bool DdeTopic::Put( const DdeData* ) 197 { 198 return sal_False; 199 } 200 201 const String& DdeTopic::GetName() const 202 { 203 return String::EmptyString(); 204 } 205 206 DdeService::DdeService( const String& ) 207 { 208 nStatus = 0; 209 } 210 211 String DdeService::Topics() { 212 return String(); 213 } 214 215 String DdeService::Formats() { 216 return String(); 217 } 218 219 String DdeService::SysItems() { 220 return String(); 221 } 222 223 String DdeService::Status() { 224 return String(); 225 } 226 227 String DdeService::SysTopicGet(const String& rString) { 228 return rString; 229 } 230 231 sal_Bool DdeService::SysTopicExecute(const String*) { 232 return sal_False; 233 } 234 235 DdeService::~DdeService() 236 { 237 } 238 239 sal_Bool DdeService::IsBusy() 240 { 241 return sal_False; 242 } 243 244 String DdeService::GetHelp() 245 { 246 return String::EmptyString(); 247 } 248 249 void DdeService::AddFormat( sal_uLong ) 250 { 251 } 252 253 void DdeService::AddTopic( const DdeTopic& ) 254 { 255 } 256 257 void DdeService::RemoveTopic( const DdeTopic& ) 258 { 259 } 260 261 sal_Bool DdeService::MakeTopic( const String& ) 262 { 263 return sal_False; 264 } 265 266 const String& DdeService::GetName() const 267 { 268 return String::EmptyString(); 269 } 270 271 namespace 272 { 273 struct theDdeServices 274 : public rtl::Static< DdeServices, theDdeServices > {}; 275 } 276 277 DdeServices& DdeService::GetServices() 278 { 279 return theDdeServices::get(); 280 } 281 282 DdeItem::DdeItem( const String& ) 283 { 284 } 285 286 DdeItem::DdeItem( const DdeItem& ) 287 { 288 } 289 290 DdeItem::~DdeItem() 291 { 292 } 293 294 void DdeItem::NotifyClient() 295 { 296 } 297 298 DdeGetPutItem::DdeGetPutItem( const String& rStr ) : 299 DdeItem( rStr ) 300 { 301 } 302 303 DdeGetPutItem::DdeGetPutItem( const DdeItem& rItem ) : 304 DdeItem( rItem ) 305 { 306 } 307 308 DdeData* DdeGetPutItem::Get( sal_uLong ) 309 { 310 return NULL; 311 } 312 313 sal_Bool DdeGetPutItem::Put( const DdeData* ) 314 { 315 return sal_False; 316 } 317 318 void DdeGetPutItem::AdviseLoop( sal_Bool ) 319 { 320 } 321 322 DdeLink::DdeLink( DdeConnection& rConnection, const String& rString, long l ) : 323 DdeTransaction( rConnection, rString, l ) 324 { 325 } 326 327 DdeLink::~DdeLink() 328 { 329 } 330 331 void DdeLink::Notify() 332 { 333 } 334 335 DdeHotLink::DdeHotLink( DdeConnection& rConnection, const String& rString, long l ) : 336 DdeLink( rConnection, rString, l ) 337 { 338 } 339