Impress Remote 1.0.5, tag sdremote-1.0.5
[LibreOffice.git] / ucbhelper / source / client / activedatasink.cxx
blobf7a844eee3b47f20547c1f59d727244c4add44eb
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
21 /**************************************************************************
22 TODO
23 **************************************************************************
25 *************************************************************************/
26 #include "ucbhelper/activedatasink.hxx"
28 using namespace com::sun::star;
30 namespace ucbhelper
33 //=========================================================================
34 //=========================================================================
36 // ActiveDataSink Implementation.
38 //=========================================================================
39 //=========================================================================
41 //=========================================================================
43 // XInterface methods
45 //=========================================================================
47 XINTERFACE_IMPL_2( ActiveDataSink,
48 lang::XTypeProvider,
49 io::XActiveDataSink );
51 //=========================================================================
53 // XTypeProvider methods
55 //=========================================================================
57 XTYPEPROVIDER_IMPL_2( ActiveDataSink,
58 lang::XTypeProvider,
59 io::XActiveDataSink );
61 //=========================================================================
63 // XActiveDataSink methods.
65 //=========================================================================
67 // virtual
68 void SAL_CALL ActiveDataSink::setInputStream(
69 const uno::Reference< io::XInputStream >& aStream )
70 throw( uno::RuntimeException )
72 m_xStream = aStream;
75 //=========================================================================
76 // virtual
77 uno::Reference< io::XInputStream > SAL_CALL ActiveDataSink::getInputStream()
78 throw( uno::RuntimeException )
80 return m_xStream;
83 } // namespace ucbhelper
85 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */