LibreOffice Module vcl (master)  1
UnoBinaryDataContainer.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  */
12 
13 #pragma once
14 
15 #include <cppuhelper/implbase.hxx>
18 
19 #include <com/sun/star/util/XBinaryDataContainer.hpp>
20 #include <com/sun/star/lang/XUnoTunnel.hpp>
21 #include <com/sun/star/uno/XComponentContext.hpp>
22 
24 
26  : public cppu::WeakImplHelper<css::util::XBinaryDataContainer, css::lang::XUnoTunnel>
27 {
28 private:
30 
31 public:
32  UnoBinaryDataContainer(BinaryDataContainer const& rBinaryDataContainer)
33  : maBinaryDataContainer(rBinaryDataContainer)
34  {
35  }
36 
38 
39  // XBinaryDataContainer
40  css::uno::Sequence<sal_Int8> SAL_CALL getCopyAsByteSequence() override;
41 
43 };
44 
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
BinaryDataContainer maBinaryDataContainer
#define UNO3_GETIMPLEMENTATION_DECL(classname)
Container for the binary data, whose responsibility is to manage the make it as simple as possible to...
UnoBinaryDataContainer(BinaryDataContainer const &rBinaryDataContainer)
BinaryDataContainer const & getBinaryDataContainer() const
css::uno::Sequence< sal_Int8 > SAL_CALL getCopyAsByteSequence() override