2012-11-09 19:10:38 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
|
|
|
|
2013-11-05 02:27:36 +01:00
|
|
|
#ifndef INCLUDED_SHELL_SOURCE_SESSIONINSTALL_SYNCDBUSSESSIONHELPER_HXX
|
|
|
|
#define INCLUDED_SHELL_SOURCE_SESSIONINSTALL_SYNCDBUSSESSIONHELPER_HXX
|
2012-11-09 19:10:38 +01:00
|
|
|
|
|
|
|
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
|
|
|
#include <com/sun/star/uno/XComponentContext.hpp>
|
2012-11-15 00:54:30 +01:00
|
|
|
#include <org/freedesktop/PackageKit/SyncDbusSessionHelper.hpp>
|
2012-11-09 19:10:38 +01:00
|
|
|
#include <cppuhelper/implbase1.hxx>
|
|
|
|
|
|
|
|
namespace shell { namespace sessioninstall
|
|
|
|
{
|
|
|
|
class SyncDbusSessionHelper : public ::cppu::WeakImplHelper1< ::org::freedesktop::PackageKit::XSyncDbusSessionHelper >
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
SyncDbusSessionHelper(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext> const&);
|
2012-11-10 08:46:53 +01:00
|
|
|
virtual ~SyncDbusSessionHelper() {}
|
2012-11-09 19:10:38 +01:00
|
|
|
// XModify Methods
|
2014-03-26 16:37:00 +01:00
|
|
|
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, std::exception) SAL_OVERRIDE;
|
2012-11-09 19:10:38 +01:00
|
|
|
|
2014-03-26 16:37:00 +01:00
|
|
|
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, std::exception) SAL_OVERRIDE
|
2012-11-10 08:46:53 +01:00
|
|
|
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
|
2014-03-26 16:37:00 +01:00
|
|
|
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, std::exception) SAL_OVERRIDE
|
2012-11-10 08:46:53 +01:00
|
|
|
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
|
2014-03-26 16:37:00 +01:00
|
|
|
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, std::exception) SAL_OVERRIDE
|
2012-11-10 08:46:53 +01:00
|
|
|
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
|
2014-03-26 16:37:00 +01:00
|
|
|
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, std::exception) SAL_OVERRIDE
|
2012-11-10 08:46:53 +01:00
|
|
|
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
|
2014-03-26 16:37:00 +01:00
|
|
|
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, std::exception) SAL_OVERRIDE
|
2012-11-10 08:46:53 +01:00
|
|
|
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
|
2014-03-26 16:37:00 +01:00
|
|
|
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, std::exception) SAL_OVERRIDE
|
2012-11-10 08:46:53 +01:00
|
|
|
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
|
2014-03-26 16:37:00 +01:00
|
|
|
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, std::exception) SAL_OVERRIDE
|
2012-11-10 08:46:53 +01:00
|
|
|
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
|
2014-03-26 16:37:00 +01:00
|
|
|
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, std::exception) SAL_OVERRIDE
|
2012-11-10 08:46:53 +01:00
|
|
|
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
|
2014-03-26 16:37:00 +01:00
|
|
|
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, std::exception) SAL_OVERRIDE
|
2012-11-10 08:46:53 +01:00
|
|
|
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
|
2012-11-09 19:10:38 +01:00
|
|
|
// XQuery Methods
|
2014-04-03 13:52:06 +02:00
|
|
|
virtual void SAL_CALL IsInstalled( const OUString& /* package_name */, const OUString& /* interaction */, sal_Bool& /* installed */ ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
2012-11-09 19:10:38 +01:00
|
|
|
|
2014-04-03 13:52:06 +02:00
|
|
|
virtual void SAL_CALL SearchFile( const OUString& /* file_name */, const OUString& /* interaction */, sal_Bool& /* installed */, OUString& /* package_name */ ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
|
2012-11-10 08:46:53 +01:00
|
|
|
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
|
2012-11-09 19:10:38 +01:00
|
|
|
|
|
|
|
private:
|
2015-02-07 12:28:36 +01:00
|
|
|
SyncDbusSessionHelper( const SyncDbusSessionHelper& ) SAL_DELETED_FUNCTION;
|
|
|
|
SyncDbusSessionHelper& operator=( const SyncDbusSessionHelper& ) SAL_DELETED_FUNCTION;
|
2012-11-09 19:10:38 +01:00
|
|
|
};
|
|
|
|
}}
|
|
|
|
|
2013-11-05 02:27:36 +01:00
|
|
|
#endif // INCLUDED_SHELL_SOURCE_SESSIONINSTALL_SYNCDBUSSESSIONHELPER_HXX
|
2012-11-09 19:10:38 +01:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|