LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/udkapi/com/sun/star/script - XEventAttacherManager.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2012-08-25 Functions: 2 2 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_SCRIPT_XEVENTATTACHERMANAGER_HDL
       2                 :            : #define INCLUDED_COM_SUN_STAR_SCRIPT_XEVENTATTACHERMANAGER_HDL
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : namespace com { namespace sun { namespace star { namespace script { class XScriptListener; } } } }
       7                 :            : #include "com/sun/star/lang/ServiceNotRegisteredException.hdl"
       8                 :            : #include "com/sun/star/lang/IllegalArgumentException.hdl"
       9                 :            : #include "com/sun/star/script/ScriptEventDescriptor.hdl"
      10                 :            : #include "com/sun/star/uno/RuntimeException.hdl"
      11                 :            : #include "com/sun/star/uno/XInterface.hdl"
      12                 :            : #include "com/sun/star/uno/Any.h"
      13                 :            : #include "com/sun/star/uno/Reference.h"
      14                 :            : #include "com/sun/star/uno/Sequence.h"
      15                 :            : #include "cppu/macros.hxx"
      16                 :            : #include "rtl/ustring.hxx"
      17                 :            : #include "sal/types.h"
      18                 :            : 
      19                 :            : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      20                 :            : 
      21                 :            : namespace com { namespace sun { namespace star { namespace script {
      22                 :            : 
      23                 :       1276 : class SAL_NO_VTABLE XEventAttacherManager : public ::com::sun::star::uno::XInterface
      24                 :            : {
      25                 :            : public:
      26                 :            : 
      27                 :            :     // Methods
      28                 :            :     virtual void SAL_CALL registerScriptEvent( ::sal_Int32 nIndex, const ::com::sun::star::script::ScriptEventDescriptor& aScriptEvent ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
      29                 :            :     virtual void SAL_CALL registerScriptEvents( ::sal_Int32 nIndex, const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor >& aScriptEvents ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
      30                 :            :     virtual void SAL_CALL revokeScriptEvent( ::sal_Int32 nIndex, const ::rtl::OUString& aListenerType, const ::rtl::OUString& aEventMethod, const ::rtl::OUString& aRemoveListenerParam ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
      31                 :            :     virtual void SAL_CALL revokeScriptEvents( ::sal_Int32 nIndex ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
      32                 :            :     virtual void SAL_CALL insertEntry( ::sal_Int32 nIndex ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
      33                 :            :     virtual void SAL_CALL removeEntry( ::sal_Int32 nIndex ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
      34                 :            :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor > SAL_CALL getScriptEvents( ::sal_Int32 Index ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
      35                 :            :     virtual void SAL_CALL attach( ::sal_Int32 nIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xObject, const ::com::sun::star::uno::Any& aHelper ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::ServiceNotRegisteredException, ::com::sun::star::uno::RuntimeException) = 0;
      36                 :            :     virtual void SAL_CALL detach( ::sal_Int32 nIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xObject ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
      37                 :            :     virtual void SAL_CALL addScriptListener( const ::com::sun::star::uno::Reference< ::com::sun::star::script::XScriptListener >& xListener ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
      38                 :            :     virtual void SAL_CALL removeScriptListener( const ::com::sun::star::uno::Reference< ::com::sun::star::script::XScriptListener >& Listener ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
      39                 :            : 
      40                 :            :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      41                 :            : 
      42                 :            : protected:
      43                 :       1232 :     ~XEventAttacherManager() throw () {} // avoid warnings about virtual members and non-virtual dtor
      44                 :            : };
      45                 :            : 
      46                 :            : 
      47                 :            : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::script::XEventAttacherManager const *);
      48                 :            : } } } }
      49                 :            : 
      50                 :            : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::script::XEventAttacherManager > *) SAL_THROW(());
      51                 :            : 
      52                 :            : #endif

Generated by: LCOV version 1.10