LCOV - code coverage report
Current view: top level - deployment - XExtensionManager.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2013-07-09 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_DEPLOYMENT_XEXTENSIONMANAGER_HDL
       2             : #define INCLUDED_COM_SUN_STAR_DEPLOYMENT_XEXTENSIONMANAGER_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/beans/NamedValue.hdl"
       7             : #include "com/sun/star/deployment/DeploymentException.hdl"
       8             : namespace com { namespace sun { namespace star { namespace deployment { class XPackage; } } } }
       9             : namespace com { namespace sun { namespace star { namespace deployment { class XPackageTypeInfo; } } } }
      10             : #include "com/sun/star/lang/IllegalArgumentException.hdl"
      11             : #include "com/sun/star/lang/XComponent.hdl"
      12             : namespace com { namespace sun { namespace star { namespace task { class XAbortChannel; } } } }
      13             : #include "com/sun/star/ucb/CommandAbortedException.hdl"
      14             : #include "com/sun/star/ucb/CommandFailedException.hdl"
      15             : namespace com { namespace sun { namespace star { namespace ucb { class XCommandEnvironment; } } } }
      16             : #include "com/sun/star/uno/RuntimeException.hdl"
      17             : #include "com/sun/star/util/XModifyBroadcaster.hdl"
      18             : #include "com/sun/star/uno/Reference.h"
      19             : #include "com/sun/star/uno/Sequence.h"
      20             : #include "cppu/macros.hxx"
      21             : #include "rtl/ustring.hxx"
      22             : #include "sal/types.h"
      23             : 
      24             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      25             : 
      26             : namespace com { namespace sun { namespace star { namespace deployment {
      27             : 
      28          65 : class SAL_NO_VTABLE XExtensionManager : public css::lang::XComponent, public css::util::XModifyBroadcaster
      29             : {
      30             : public:
      31             : 
      32             :     // Methods
      33             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::deployment::XPackageTypeInfo > > SAL_CALL getSupportedPackageTypes() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual ::com::sun::star::uno::Reference< css::task::XAbortChannel > SAL_CALL createAbortChannel() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual ::com::sun::star::uno::Reference< css::deployment::XPackage > SAL_CALL addExtension( const ::rtl::OUString& url, const ::com::sun::star::uno::Sequence< css::beans::NamedValue >& properties, const ::rtl::OUString& repository, const ::com::sun::star::uno::Reference< css::task::XAbortChannel >& xAbortChannel, const ::com::sun::star::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) /* throw (css::deployment::DeploymentException, css::ucb::CommandFailedException, css::ucb::CommandAbortedException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual void SAL_CALL removeExtension( const ::rtl::OUString& identifier, const ::rtl::OUString& fileName, const ::rtl::OUString& repository, const ::com::sun::star::uno::Reference< css::task::XAbortChannel >& xAbortChannel, const ::com::sun::star::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) /* throw (css::deployment::DeploymentException, css::ucb::CommandFailedException, css::ucb::CommandAbortedException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual void SAL_CALL enableExtension( const ::com::sun::star::uno::Reference< css::deployment::XPackage >& extension, const ::com::sun::star::uno::Reference< css::task::XAbortChannel >& xAbortChannel, const ::com::sun::star::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) /* throw (css::deployment::DeploymentException, css::ucb::CommandFailedException, css::ucb::CommandAbortedException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual void SAL_CALL disableExtension( const ::com::sun::star::uno::Reference< css::deployment::XPackage >& extension, const ::com::sun::star::uno::Reference< css::task::XAbortChannel >& xAbortChannel, const ::com::sun::star::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) /* throw (css::deployment::DeploymentException, css::ucb::CommandFailedException, css::ucb::CommandAbortedException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::deployment::XPackage > > SAL_CALL getDeployedExtensions( const ::rtl::OUString& repository, const ::com::sun::star::uno::Reference< css::task::XAbortChannel >& xAbortChannel, const ::com::sun::star::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) /* throw (css::deployment::DeploymentException, css::ucb::CommandFailedException, css::ucb::CommandAbortedException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual ::com::sun::star::uno::Reference< css::deployment::XPackage > SAL_CALL getDeployedExtension( const ::rtl::OUString& repository, const ::rtl::OUString& identifier, const ::rtl::OUString& fileName, const ::com::sun::star::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) /* throw (css::deployment::DeploymentException, css::ucb::CommandFailedException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::deployment::XPackage > > SAL_CALL getExtensionsWithSameIdentifier( const ::rtl::OUString& identifier, const ::rtl::OUString& fileName, const ::com::sun::star::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) /* throw (css::deployment::DeploymentException, css::ucb::CommandFailedException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      42             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::deployment::XPackage > > > SAL_CALL getAllExtensions( const ::com::sun::star::uno::Reference< css::task::XAbortChannel >& xAbortChannel, const ::com::sun::star::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) /* throw (css::deployment::DeploymentException, css::ucb::CommandFailedException, css::ucb::CommandAbortedException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      43             :     virtual void SAL_CALL reinstallDeployedExtensions( ::sal_Bool force, const ::rtl::OUString& repository, const ::com::sun::star::uno::Reference< css::task::XAbortChannel >& xAbortChannel, const ::com::sun::star::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) /* throw (css::deployment::DeploymentException, css::ucb::CommandFailedException, css::ucb::CommandAbortedException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual ::sal_Bool SAL_CALL synchronize( const ::com::sun::star::uno::Reference< css::task::XAbortChannel >& xAbortChannel, const ::com::sun::star::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) /* throw (css::deployment::DeploymentException, css::ucb::CommandFailedException, css::ucb::CommandAbortedException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      45             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::deployment::XPackage > > SAL_CALL getExtensionsWithUnacceptedLicenses( const ::rtl::OUString& repository, const ::com::sun::star::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) /* throw (css::deployment::DeploymentException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      46             :     virtual ::sal_Int32 SAL_CALL checkPrerequisitesAndEnable( const ::com::sun::star::uno::Reference< css::deployment::XPackage >& extension, const ::com::sun::star::uno::Reference< css::task::XAbortChannel >& xAbortChannel, const ::com::sun::star::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) /* throw (css::deployment::DeploymentException, css::ucb::CommandFailedException, css::ucb::CommandAbortedException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      47             :     virtual ::sal_Bool SAL_CALL isReadOnlyRepository( const ::rtl::OUString& repository ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      48             : 
      49             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      50             : 
      51             : protected:
      52          64 :     ~XExtensionManager() throw () {} // avoid warnings about virtual members and non-virtual dtor
      53             : };
      54             : 
      55             : 
      56             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::deployment::XExtensionManager const *);
      57             : } } } }
      58             : 
      59             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::deployment::XExtensionManager > *) SAL_THROW(());
      60             : 
      61             : #endif

Generated by: LCOV version 1.10