1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef SHELL_SESSIONINSTALL_SYNCDBUSSESSIONHELPER_HXX
11 #define SHELL_SESSIONINSTALL_SYNCDBUSSESSIONHELPER_HXX
13 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
14 #include <com/sun/star/uno/XComponentContext.hpp>
15 #include <org/freedesktop/PackageKit/SyncDbusSessionHelper.hpp>
16 #include <cppuhelper/implbase1.hxx>
18 namespace shell
{ namespace sessioninstall
20 class SyncDbusSessionHelper
: public ::cppu::WeakImplHelper1
< ::org::freedesktop::PackageKit::XSyncDbusSessionHelper
>
23 SyncDbusSessionHelper(::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext
> const&);
24 virtual ~SyncDbusSessionHelper() {}
26 virtual void SAL_CALL
InstallPackageNames( ::sal_uInt32
/* xid */, const ::com::sun::star::uno::Sequence
< OUString
>& /* packages */, const OUString
& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException
);
28 virtual void SAL_CALL
InstallPackageFiles( ::sal_uInt32
/* xid */, const ::com::sun::star::uno::Sequence
< OUString
>& /* files */, const OUString
& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException
)
29 { throw ::com::sun::star::uno::RuntimeException(); } // not implemented
30 virtual void SAL_CALL
InstallProvideFiles( ::sal_uInt32
/* xid */, const ::com::sun::star::uno::Sequence
< OUString
>& /* files */, const OUString
& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException
)
31 { throw ::com::sun::star::uno::RuntimeException(); } // not implemented
32 virtual void SAL_CALL
InstallCatalogs( ::sal_uInt32
/* xid */, const ::com::sun::star::uno::Sequence
< OUString
>& /* files */, const OUString
& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException
)
33 { throw ::com::sun::star::uno::RuntimeException(); } // not implemented
34 virtual void SAL_CALL
InstallMimeTypes( ::sal_uInt32
/* xid */, const ::com::sun::star::uno::Sequence
< OUString
>& /* mime_types */, const OUString
& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException
)
35 { throw ::com::sun::star::uno::RuntimeException(); } // not implemented
36 virtual void SAL_CALL
InstallFontconfigResources( ::sal_uInt32
/* xid */, const ::com::sun::star::uno::Sequence
< OUString
>& /* resources */, const OUString
& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException
)
37 { throw ::com::sun::star::uno::RuntimeException(); } // not implemented
38 virtual void SAL_CALL
InstallGStreamerResources( ::sal_uInt32
/* xid */, const ::com::sun::star::uno::Sequence
< OUString
>& /* resources */, const OUString
& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException
)
39 { throw ::com::sun::star::uno::RuntimeException(); } // not implemented
40 virtual void SAL_CALL
InstallResources( ::sal_uInt32
/* xid */, const ::com::sun::star::uno::Sequence
< OUString
>& /* types */, const ::com::sun::star::uno::Sequence
< OUString
>& /* resources */, const OUString
& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException
)
41 { throw ::com::sun::star::uno::RuntimeException(); } // not implemented
42 virtual void SAL_CALL
RemovePackageByFiles( SAL_UNUSED_PARAMETER ::sal_uInt32
/* xid */, const ::com::sun::star::uno::Sequence
< OUString
>& /* files */, const OUString
& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException
)
43 { throw ::com::sun::star::uno::RuntimeException(); } // not implemented
44 virtual void SAL_CALL
InstallPrinterDrivers( ::sal_uInt32
/* xid */, const ::com::sun::star::uno::Sequence
< OUString
>& /* files */, const OUString
& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException
)
45 { throw ::com::sun::star::uno::RuntimeException(); } // not implemented
47 virtual void SAL_CALL
IsInstalled( const OUString
& /* package_name */, const OUString
& /* interaction */, ::sal_Bool
& /* installed */ ) throw (::com::sun::star::uno::RuntimeException
);
49 virtual void SAL_CALL
SearchFile( const OUString
& /* file_name */, const OUString
& /* interaction */, ::sal_Bool
& /* installed */, OUString
& /* package_name */ ) throw (::com::sun::star::uno::RuntimeException
)
50 { throw ::com::sun::star::uno::RuntimeException(); } // not implemented
53 SyncDbusSessionHelper(); // never implemented
54 SyncDbusSessionHelper( const SyncDbusSessionHelper
& ); // never implemented
55 SyncDbusSessionHelper
& operator=( const SyncDbusSessionHelper
& ); // never implemented
59 #endif // SHELL_SESSIONINSTALL_SYNCDBUSSESSIONHELPER_HXX
60 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */