Simplify using designated initializers
[LibreOffice.git] / avmedia / source / qt6 / QtManager.hxx
blob830c1ed0c671daec18fe31bf42bc652516ac58cd
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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/.
8 */
10 #pragma once
12 #include <com/sun/star/lang/XServiceInfo.hpp>
13 #include <com/sun/star/media/XManager.hpp>
14 #include <cppuhelper/implbase.hxx>
16 namespace avmedia::qt
18 class QtManager : public cppu::WeakImplHelper<css::media::XManager, css::lang::XServiceInfo>
20 public:
21 explicit QtManager();
22 virtual ~QtManager() override;
24 virtual css::uno::Reference<css::media::XPlayer>
25 SAL_CALL createPlayer(const OUString& aURL) override;
27 virtual OUString SAL_CALL getImplementationName() override;
28 virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
29 virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
33 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */