Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / avmedia / source / avmediadummy.cxx
blob349483f36194046f5393c85d31f89d976a957b9e
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 .
20 #include <avmedia/mediaitem.hxx>
22 #include <com/sun/star/uno/Sequence.hxx>
24 #include <com/sun/star/beans/XPropertySet.hpp>
25 #include <com/sun/star/embed/ElementModes.hpp>
26 #include <com/sun/star/embed/XTransactedObject.hpp>
27 #include <com/sun/star/document/XStorageBasedDocument.hpp>
28 #include <com/sun/star/ucb/XCommandEnvironment.hpp>
29 #include <com/sun/star/uri/UriReferenceFactory.hpp>
30 #include <com/sun/star/uri/XUriReference.hpp>
31 #include <com/sun/star/uri/XUriReferenceFactory.hpp>
33 #include <rtl/ustrbuf.hxx>
35 #include <ucbhelper/content.hxx>
37 #include <comphelper/storagehelper.hxx>
39 using namespace ::com::sun::star;
41 namespace avmedia
43 MediaItem::MediaItem( sal_uInt16 i_nWhich, AVMediaSetMask )
44 : SfxPoolItem( i_nWhich )
48 MediaItem::MediaItem( const MediaItem& rItem )
49 : SfxPoolItem( rItem )
53 MediaItem::~MediaItem()
57 struct MediaItem::Impl
61 bool MediaItem::QueryValue( css::uno::Any&, sal_uInt8 ) const
63 return false;
66 bool MediaItem::GetPresentation( SfxItemPresentation, MapUnit, MapUnit, OUString&, const IntlWrapper& ) const
68 return false;
71 bool MediaItem::PutValue( const css::uno::Any&, sal_uInt8 )
73 return false;
76 SfxPoolItem* MediaItem::CreateDefault()
78 return new MediaItem;
82 SfxPoolItem* MediaItem::Clone( SfxItemPool*) const
84 return nullptr;
87 bool MediaItem::operator==( const SfxPoolItem& ) const
89 return false;
92 } // namespace avmedia
94 extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* SAL_CALL
95 com_sun_star_comp_framework_SoundHandler_get_implementation(css::uno::XComponentContext*,
96 css::uno::Sequence<css::uno::Any> const &)
98 return NULL;
100 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */