LCOV - code coverage report
Current view: top level - libreoffice/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-12-27 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          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          34 : class SAL_NO_VTABLE XEventAttacherManager : public css::uno::XInterface
      24             : {
      25             : public:
      26             : 
      27             :     // Methods
      28             :     virtual void SAL_CALL registerScriptEvent( ::sal_Int32 nIndex, const css::script::ScriptEventDescriptor& aScriptEvent ) = 0;
      29             :     virtual void SAL_CALL registerScriptEvents( ::sal_Int32 nIndex, const ::com::sun::star::uno::Sequence< css::script::ScriptEventDescriptor >& aScriptEvents ) = 0;
      30             :     virtual void SAL_CALL revokeScriptEvent( ::sal_Int32 nIndex, const ::rtl::OUString& aListenerType, const ::rtl::OUString& aEventMethod, const ::rtl::OUString& aRemoveListenerParam ) = 0;
      31             :     virtual void SAL_CALL revokeScriptEvents( ::sal_Int32 nIndex ) = 0;
      32             :     virtual void SAL_CALL insertEntry( ::sal_Int32 nIndex ) = 0;
      33             :     virtual void SAL_CALL removeEntry( ::sal_Int32 nIndex ) = 0;
      34             :     virtual ::com::sun::star::uno::Sequence< css::script::ScriptEventDescriptor > SAL_CALL getScriptEvents( ::sal_Int32 Index ) = 0;
      35             :     virtual void SAL_CALL attach( ::sal_Int32 nIndex, const ::com::sun::star::uno::Reference< css::uno::XInterface >& xObject, const ::com::sun::star::uno::Any& aHelper ) = 0;
      36             :     virtual void SAL_CALL detach( ::sal_Int32 nIndex, const ::com::sun::star::uno::Reference< css::uno::XInterface >& xObject ) = 0;
      37             :     virtual void SAL_CALL addScriptListener( const ::com::sun::star::uno::Reference< css::script::XScriptListener >& xListener ) = 0;
      38             :     virtual void SAL_CALL removeScriptListener( const ::com::sun::star::uno::Reference< css::script::XScriptListener >& Listener ) = 0;
      39             : 
      40             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      41             : 
      42             : protected:
      43          16 :     ~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 css::script::XEventAttacherManager const *);
      48             : } } } }
      49             : 
      50             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::script::XEventAttacherManager > *) SAL_THROW(());
      51             : 
      52             : #endif

Generated by: LCOV version 1.10