first cut at using Gtk4 built in video playback
[LibreOffice.git] / avmedia / source / gtk / gtkmanager.hxx
blob9cf6d93f5b68ac2a9ae43682f1da413fea836b99
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 <cppuhelper/implbase.hxx>
13 #include <com/sun/star/lang/XServiceInfo.hpp>
14 #include <com/sun/star/media/XManager.hpp>
15 #include <com/sun/star/uno/XComponentContext.hpp>
17 namespace avmedia::gtk
19 class Manager : public cppu::WeakImplHelper<css::media::XManager, css::lang::XServiceInfo>
21 public:
22 explicit Manager();
23 virtual ~Manager() override;
25 virtual css::uno::Reference<css::media::XPlayer>
26 SAL_CALL createPlayer(const OUString& aURL) override;
28 virtual OUString SAL_CALL getImplementationName() override;
29 virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
30 virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */